[wp-trac] [WordPress Trac] #11438: Make relative links absolute in feed
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 6 04:23:47 UTC 2011
#11438: Make relative links absolute in feed
--------------------------+-----------------------------
Reporter: caesarsgrunt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: 2.9
Severity: major | Resolution:
Keywords: close |
--------------------------+-----------------------------
Changes (by solarissmoke):
* keywords: needs-patch gsoc => close
Comment:
Few points:
- I can't believe that anyone uses relative links containing `../` in
their posts (in any case we should not be encouraging it). Posts can be
displayed in several contexts (single, monthly archive, yearly archive,
category archive, etc), and in each case the `../` will point to something
different. Breaking the link in a feed reader would be the least of your
problems.
- Root-relative links are a different matter, but there are other ways to
deal with this. One is the [http://www.w3.org/TR/2001/REC-xmlbase-20010627
xml:base] attribute, which is used to specify the base for relative URLs.
This can easily be done by a plugin using the `rss2_ns` action.
- Most feed readers have got used to the fact that people use relative
links, and have found ways to deal with it. This includes Google Reader
and Feedburner.
Proposing wontfix (again). This issue has been raised before (#1748) and
even there received no traction.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11438#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list