mirror of
https://github.com/getpelican/pelican.git
synced 2026-05-27 20:06:13 +02:00
Merge 7498fb8eff into f83d0d3b0c
This commit is contained in:
commit
679dbb3556
1 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ def wp2fields(xml):
|
|||
if item.find('status').string == "publish":
|
||||
|
||||
try:
|
||||
# Use HTMLParser due to issues with BeautifulSoup 3
|
||||
# Use HTMLParxser due to issues with BeautifulSoup 3
|
||||
title = HTMLParser().unescape(item.title.contents[0])
|
||||
except IndexError:
|
||||
title = 'No title [%s]' % item.find('post_name').string
|
||||
|
|
@ -551,7 +551,7 @@ def fields2pelican(fields, out_markup, output_path,
|
|||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Transform feed, Wordpress or Dotclear files to reST (rst) "
|
||||
description="Transform feed, Posterous, Wordpress or Dotclear files to reST (rst) "
|
||||
"or Markdown (md) files. Be sure to have pandoc installed.",
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue