Today, a lot of planet posts have relative URLs which leads to lot of 404s for people who look at /planet here on d.o.
Could the content team contact feed suppliers and explain to them that they should change this? It fills the logs with useless stuff.
Comments
Comment #1
marvil07 commentedJust in case someone has energy to actually fix the real bug in core, the related issue is #88183: Relative URLs in feeds should be converted to absolute ones
Comment #2
dddave commentedI guess we should add this as a requirement to https://drupal.org/planet/guidelines?
Comment #3
darol100 commented@ddave
I'm not sure if this should be requirement but at least should be mention on the Planet Guidelines.
I find this page very helpful http://validator.w3.org/feed/docs/warning/ContainsRelRef.html
Comment #4
dddave commentedComment #5
dddave commentedAdded some info to the guidelines. Thanks for the info link. I am closing this issue now as I don't think we can or should do anything else here.
Comment #6
darol100 commentedSound Good ....
Comment #8
darol100 commented@Dave
I think we should recommend the Pathologic on the Drupal Planet guidelines.
Pathologic is an input filter which attempts to alter paths in your content so that they are correct in situations which would otherwise cause them to “break;” for example, if the URL of the site changes, or the content was moved to a different server. Pathologic can also solve the problem of missing images and broken links in your site’s RSS feeds.
Example use cases
Here’s some hypothetical situations in which Pathologic can save the day.
Links and/or images in your site content use relative paths (eg,
<a href="tag/food/pizza">instead of<a href="http://example.com/tag/food/pizza">) which work fine for people reading content on your site, but break gracelessly when content is syndicated via RSS, Atom, or maybe even a REST interface or the like. Pathologic can ensure that those paths are always full paths with a server fragment so that the paths always work no matter how or where the content is consumed.What you think ?
Comment #9
dddave commentedGood idea. Feel free to add a sentence to the documentation.