Commits

Marcin Kasperski committed 451186d

Looks like putting ids as guid's is not a good idea. Moving to custom id
field just in case.

Comments (0)

Files changed (1)

serendipity2blogofile.py

             "categories": entry.category(),
             "tags": ", ".join(entry.tags()),
             "permalink": "%s%s" % (baseURL, entry.permalink()),
-            "guid": entry.id,
             "author": entry.author.realname,
             "draft": entry.isdraft and True or False,
             # source, yaml, content, filename - reserved
 
             # Custom fields
             #"author_email": entry.author.email,
+            "id": entry.id,
             "meta_description": entry.meta_description(),
             "meta_keywords": entry.meta_keywords(),
             }
             "date": page.creation_time().strftime("%Y/%m/%d %H:%M:%S"),
             "updated": entry.last_modification_time().strftime("%Y/%m/%d %H:%M:%S"),
             "permalink": page.permalink,
-            "guid": page.id,
+            "id": page.id,
             "draft": page.is_draft(),
             }