<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technology on Information &#187; Dumper</title>
	<atom:link href="http://tec.toi-planning.net/en/mt/dumper/manual-2/feed" rel="self" type="application/rss+xml" />
	<link>http://tec.toi-planning.net/en</link>
	<description>ToI Planning's technical article</description>
	<lastBuildDate>Sat, 27 Feb 2010 09:13:10 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Usage of Dumper for the developer</title>
		<link>http://tec.toi-planning.net/en/mt/dumper/manual-2</link>
		<comments>http://tec.toi-planning.net/en/mt/dumper/manual-2#comments</comments>
		<pubDate>Tue, 23 Sep 2008 13:22:16 +0000</pubDate>
		<dc:creator>taku</dc:creator>
				<category><![CDATA[Dumper]]></category>

		<guid isPermaLink="false">http://tec.toi-planning.net/en/uncategorized/dumper-%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e9%96%8b%e7%99%ba%e8%80%85%e5%90%91%e3%81%91%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9</guid>
		<description><![CDATA[Use it from other plugin. It is possible to use it from other plugin by the following way. Example require MT; my $app = MT->instance; my $dumper = $app->component('Dumper'); my %config_hash = ( 'dump_entry' => 1, 'dump_entry_yaml' => 1, 'dump_entry_yaml_file' => 'entries.yaml', 'dump_entry_fields' => { 'id' => 'id', # Outout id field. 'title' => 'name', [...]]]></description>
			<content:encoded><![CDATA[<div class="tags">
<h2>Use it from other plugin.</h2>
<div class="tag">
<h4 class="description">
It is possible to use it from other plugin by the following way.<br />
</h4>
<h5 class="usage">Example</h5>
<hr/>
<pre><code
>require MT;
my $app = MT->instance;
my $dumper = $app->component('Dumper');
my %config_hash = (
'dump_entry' => 1,
'dump_entry_yaml' => 1,
'dump_entry_yaml_file' => 'entries.yaml',
'dump_entry_fields' => {
'id' => 'id',               # Outout id field.
'title' => 'name',          # Output title field as name.
'permalink' => 'permalink', # Output Permalink.
'entry_email' => 'email',   # Output Custom Fields field that specified by tagname.
},
);
foreach my $k (keys %config_hash) {
$dumper->set_config_value($k, $config_hash{$k}, 'blog:1');
}
</code></pre>
<h5 class="usage">出力例(entries.yaml)</h5>
<hr/>
<pre><code
>---
1:
id: 1
name: entry's title
permalink: http://tec.toi-planning.net/entry/permalink/
email: taku@toi-planning.net
</code></pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tec.toi-planning.net/en/mt/dumper/manual-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

