[wp-trac] [WordPress Trac] #11438: Make relative links absolute in feed
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 27 00:26:39 UTC 2009
#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 | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by hakre):
Replying to [comment:10 caesarsgrunt]:
> Replying to [comment:7 hakre]:
> > Relative Links? You mean those which are entered into the post by an
author of an article? Isn't WordPress using absolute links everywhere?
Which links are relative? Please provide steps to reproduce.
> Yes, I mean those entered into the post by the author. What WordPeess
uses itself is irrelevant (I hate how it uses absolute links everywhere,
but that's not relevant to this ticket).
Oh well that would mean we need a XML parser then. I see no chance to
handle that ''properly'' without PHP5 and DOMDOCUMENT. With the great
[http://www.fluentdom.org/ FluentDom Lib] this would be quite easy. But no
luck here for WordPress with the current system requirements. Alternative
is some crappy regex I guess.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11438#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list