Export blog does not provide namespace for "atom:link"

  • Author
    Posts
  • #1004080

    jediseesmic2
    Member

    I’m trying to export a blog, but the result XML is not valid 100% — what’s missing is the ‘atom’ namespace:


    <rss version="2.0"
    xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:wp="http://wordpress.org/export/1.2/">

    Should be

    <rss version="2.0"
    xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:wp="http://wordpress.org/export/1.2/"
    xmlns:atom="http://www.w3.org/1999/xhtml">

    Is there any reason why that namespace is not provided? Also, is there any way I can drop the 2 items that relate to atom namespace?

    <atom:link rel=”search” type=”application/opensearchdescription+xml” href=”http://x1.wordpress.com/osd.xml” title=”x1 blog” />
    <atom:link rel=’hub’ href=’http://x1.wordpress.com/?pushpress=hub’/>

    Thanks,
    Alex.

The topic ‘Export blog does not provide namespace for "atom:link"’ is closed to new replies.