Skip to content

Instantly share code, notes, and snippets.

@taiyoh
Created October 27, 2010 05:05
Show Gist options
  • Save taiyoh/648485 to your computer and use it in GitHub Desktop.
Save taiyoh/648485 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use common::sense;
use utf8;
use Text::MTFormatBuilder '-Declare';
print blog_export {
entry {
metadata {
author 'author_test';
title 'title_test';
};
body 'test_body';
extended_body 'test_extended_body';
excerpt 'test_excerpt';
};
};
__END__
AUTHOR: author_test
TITLE: title_test
CONVERT BREAKS: 0
ALLOW COMMENTS: 1
ALLOW PINGS: 1
-----
BODY:
test_body
-----
EXTENDED BODY:
test_extended_body
-----
EXCERPT:
test_excerpt
-----
--------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment