1. Marcin Kasperski
  2. serendipity2blogofile


Marcin Kasperski  committed 451186d

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

  • Participants
  • Parent commits 7e75ab3
  • Branches default

Comments (0)

Files changed (1)

File serendipity2blogofile.py

View file
  • Ignore whitespace
             "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(),