Skip to content

Instantly share code, notes, and snippets.

@danott
Created June 14, 2010 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danott/438236 to your computer and use it in GitHub Desktop.
Save danott/438236 to your computer and use it in GitHub Desktop.
Export EE entires to Moveable Type format.
{!--
Expression Engine Template code to export entries in Moveable Type format
TODO: Categories, commments, author, etc.
--}
{exp:weblog:entries weblog="default_blog" limit="999" show_future_entries="yes" category="21"}
TITLE: {title}
DATE: {entry_date format="%m/%d/%Y %h:%i:%s %A"}
{if excerpt}-----
EXCERPT:
{excerpt}
{/if}
{if body}-----
BODY:
{body}
{/if}
{if extended_body}-----
EXTENDED BODY:
{extended_body}
{/if}--------
-----
--------
{/exp:weblog:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment