Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wordpress 3.0 namespaces

  • Loading branch information...
commit 9e7d77c3c2e567fcf164eca60796972d7eb4ed07 1 parent 324d81f
@thomasf authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 exitwp.py
View
4 exitwp.py
@@ -56,11 +56,11 @@ def html2fmt(html, target_format):
def parse_wp_xml(file):
ns = {
'':'', #this is the default namespace
- 'excerpt':"{http://wordpress.org/export/1.1/excerpt/}",
+ 'excerpt':"{http://wordpress.org/export/1.0/excerpt/}",
'content':"{http://purl.org/rss/1.0/modules/content/}",
'wfw':"{http://wellformedweb.org/CommentAPI/}",
'dc':"{http://purl.org/dc/elements/1.1/}",
- 'wp':"{http://wordpress.org/export/1.1/}"
+ 'wp':"{http://wordpress.org/export/1.0/}"
}
tree=ElementTree()
Please sign in to comment.
Something went wrong with that request. Please try again.