Created
October 27, 2010 05:05
-
-
Save taiyoh/648485 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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