Menu

#5 Ability to set ATOM xml:base

open
nobody
None
5
2007-01-08
2007-01-08
KosherJava
No

there should be a simple way to optionally set the xml:base attribute

<content type="html" xml:base="http://myURL">some html with relative URLs....

Discussion

  • mypapit wuz here (info@mypapit)

    Logged In: YES
    user_id=458301
    Originator: NO

    nice to have. but isn't this will render content less portable with RSS feed? i.e content with relative url in atom (and xml:base) will work fine, but what happened if the same content is used to generate RSS or OPML ? the relative url inside rss and opml will fail, this create inconsistencies between atom and rss feeds.

    shouldn't users be disciplined to use absolute URL when generating multiple feed format using feedcreator? (the same content can be use for rss and atom)

     
  • KosherJava

    KosherJava - 2007-01-08

    Logged In: YES
    user_id=634811
    Originator: YES

    You are very correct that ideally all links should be absolute, and a search for
    atom xml:base
    on Google will bring up all the negative thing about it in the first link. That said, in PhpGedView, we are re-wrapping content that is already on the site in the form that the user entered them in the case of the news articles, and in many cases they contain relative links. In this case it would be nice to be able to better deal with such relative links. All URLs that are generated by PhpGedView are already absolute full URLs. I am just trying to fix this issue when we can (ATOM) for these user entered links.

     

Log in to post a comment.

MongoDB Logo MongoDB