mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
update description used on the command line to include Posterous as recognized input fromat
This commit is contained in:
parent
675d6c81cd
commit
7498fb8eff
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
|
||||
|
|
@ -465,7 +465,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