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

marvil07’s picture

Just 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

dddave’s picture

I guess we should add this as a requirement to https://drupal.org/planet/guidelines?

darol100’s picture

Issue summary: View changes

@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

dddave’s picture

Assigned: Unassigned » dddave
Status: Active » Needs work
dddave’s picture

Status: Needs work » Fixed

Added 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.

darol100’s picture

Sound Good ....

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

darol100’s picture

@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 ?

dddave’s picture

Good idea. Feel free to add a sentence to the documentation.