[consulting] Absolute Paths in Content for Better Rss Compatibiliy

Brian Vuyk brian at brianvuyk.com
Wed Sep 23 15:10:33 UTC 2009


Khalid,

I may do that. It's more a matter of available time. The patch would be 
core-ready with a few tests and coding style fixes, although I suspect 
with the code freeze it would be for D8.

But yes, it could definately be done as a contrib project in the meantime.

Brian



Khalid Baheyeldin wrote:
> Brian
>
> You don't have to wait for this to get in core, given the rigor that 
> core must have.
>
> Make it a contrib module. This will solve the issue for most people.
>
> See this project, which massages the RSS in the other way (removes markup)
> http://drupal.org/project/cleanfeeds
>
>
>
> On Wed, Sep 23, 2009 at 8:22 AM, Brian Vuyk <brian at brianvuyk.com 
> <mailto:brian at brianvuyk.com>> wrote:
>
>     I know this is approaching it from the other end, but I had a
>     patch ready for Aggregator which converted all relative paths in
>     images and links to absolute paths:
>
>     http://drupal.org/node/395764
>
>     It stalled at a certain point, and I haven't really gone back to
>     finish it off (coding style fixes and a few unit tests needed).
>     However, the logic is simple enough that feed readers could easily
>     implement similar methods. Or, for that matter, Drupal could while
>     outputting feeds.
>
>     Brian
>
>
>     Shai Gluskin wrote:
>
>         I've been using RSS a lot more lately, encouraging my clients
>         to, and
>         making my sites more RSS friendly.
>
>         I've only recently realized that inline relative URLs break in
>         a lot,
>         if not most, feed readers. Do you encourage content editors to use
>         absolute urls because of this? Do you use absolute urls in
>         your own
>         blogs?
>
>         Shai
>         p.s. I've been using magecache combined with CCK's
>         functionallity for
>         setting a separate display choice for RSS to size images
>         smaller for
>         RSS feeds, presuming a lot of the RSS audience is on a mobile
>         device.
>         Way awesome.
>         _______________________________________________
>         consulting mailing list
>         consulting at drupal.org <mailto:consulting at drupal.org>
>         http://lists.drupal.org/mailman/listinfo/consulting
>          
>
>
>     _______________________________________________
>     consulting mailing list
>     consulting at drupal.org <mailto:consulting at drupal.org>
>     http://lists.drupal.org/mailman/listinfo/consulting
>
>
>
>
> -- 
> Khalid M. Baheyeldin
> 2bits.com <http://2bits.com>, Inc.
> http://2bits.com
> Drupal optimization, development, customization and consulting.
> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
> Simplicity is the ultimate sophistication. --   Leonardo da Vinci
> ------------------------------------------------------------------------
>
> _______________________________________________
> consulting mailing list
> consulting at drupal.org
> http://lists.drupal.org/mailman/listinfo/consulting
>   



More information about the consulting mailing list