Aaron Parecki
d2b0109d37
fix for missing author property
* looks through the full mf2 tree for step 7 of authorship https://github.com/indieweb/authorship/issues/2
* if no author h-card is found, falls back to returning the author URL without other data instead of missing author
closes #95
4 years ago
Jamie Tanna
7f49c0381c
Add support for parsing MF2 JSON
To make it possible to consume feeds of pre-rendered Microformats2 JSON
data, we need to be able to discover that it is a Microformats2 JSON
file using the known MIME types documented in
http://microformats.org/wiki/microformats2-mime-type
5 years ago
Aaron Parecki
491f3796f8
also check for opening rss tag
closes #89
5 years ago
Aaron Parecki
5b2b4f3142
return original input URL for feed discovery when 302 is found
closes #86
5 years ago
Aaron Parecki
bed6efba29
jsonfeed: use feed info as author as fallback
6 years ago
Aaron Parecki
8043ba575f
improve authorship discovery
closes #79
6 years ago
Aaron Parecki
9163341af2
normalize relative URLs in JSONFeed items
closes #77
6 years ago
Aaron Parecki
c68c7661c8
inspect content to determine if a page is atom or rss
closes #62
6 years ago
Aaron Parecki
a9b1001e62
switch to fork of picofeed with authorUrl support
* adds test of instagram-atom feed with individual authors per item
* dedupes atom/rss title if it's a prefix of the content
7 years ago
Aaron Parecki
206e27ea25
add feed discovery API
7 years ago
Aaron Parecki
85b8a35212
normalize URLs when comparing
Treats `https://example.com ` and `https://example.com/ ` as equivalent when comparing URLs. Closes #33
7 years ago
Aaron Parecki
15743d411d
Find author when author is a property of the h-feed
closes #32
7 years ago
Aaron Parecki
05f7d9c86c
implement h-feed and other microformats feed parsing
7 years ago
Aaron Parecki
7b16371418
add basic support for JSONFeed
7 years ago
Aaron Parecki
e8e63caba6
implements parsing Atom and RSS feeds
7 years ago
Aaron Parecki
162d2f5ef8
add tests for feeds, catch case when a permalink has other h-entrys
8 years ago
Aaron Parecki
4cb548fdfc
add test files illustrating a few different ways feeds (lists of posts) can appear
8 years ago