-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ignore query part of URL to determine sitemap location prefix for URL validation, fixes #202 - resolve relative links in RSS feeds, fixes #203 - allow non-continuous content (containing XML entities or CDATA) when parsing links in RSS feeds, fixes #204 - extract links from <guid> elements in RSS feeds, fixes #201
- Loading branch information
1 parent
a9277ac
commit 0ef7cf8
Showing
7 changed files
with
134 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
<!-- extended from https://en.wikipedia.org/wiki/RSS#Example --> | ||
|
||
<rss version="2.0"> | ||
<channel> | ||
<title>RSS Title</title> | ||
<description>This is an example of an RSS feed</description> | ||
<link>https://www.example.com/main.html</link> | ||
<lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate> | ||
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate> | ||
<ttl>1800</ttl> | ||
|
||
<item> | ||
<title>Example entry</title> | ||
<description>Here is some text containing an interesting description.</description> | ||
<link>https://www.example.com/blog/post/1</link> | ||
<guid isPermaLink="false">7bd204c6-1655-4c27-aeee-53f933c5395f</guid> | ||
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate> | ||
</item> | ||
|
||
<item> | ||
<title>&guid& element instead of &link&</title> | ||
<guid isPermaLink="false">https://www.example.com/guid.html</guid> | ||
</item> | ||
|
||
<item> | ||
<title>XML entity in link content</title> | ||
<link>https://www.example.com/foo?q=a&l=en</link> | ||
</item> | ||
|
||
<item> | ||
<title>CDATA</title> | ||
<link>https://www.example.com/foo<![CDATA[?q=a&l=fr]]></link> | ||
</item> | ||
|
||
</channel> | ||
</rss> |