benfortuna / newsagent

An RSS aggregation library
Other
0 stars 1 forks source link

Fix relative URLs in article body #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Some feeds (e.g. http://www.pcworld.com/index.rss) use relative URLs. 

When parsing check all <a> nodes for valid URLs, and otherwise modify the HTML 
to create absolute URLs using the feed source link.

Original issue reported on code.google.com by benfortuna on 29 Apr 2013 at 5:07