text/plain IMPORT.txt — 2.3 KB

File contents

<?xml version="1.0" encoding="ascii" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<base href="http://old.codesyntax.com/bitakora/IMPORT.txt/" />

<meta http-equiv="Content-Type" content="text/html; charset=ascii" />
<meta name="generator" content="Docutils 0.3.4: http://docutils.sourceforge.net/" />
<link rel="stylesheet" href="default.css" type="text/css" />
<h1 class="title">IMPORT.txt</h1>
<div class="document" id="import-txt">
<p>You can import your actual blog to Bitakora preparing an XML file with this format:</p>
<pre class="literal-block">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
   &lt;author&gt;  &lt;/author&gt;
   &lt;title&gt;&lt;![CDATA[   ]]&gt;&lt;/title&gt;
   &lt;date&gt;    &lt;/date&gt;
   &lt;body&gt;&lt;![CDATA[    ]]&gt;&lt;/body&gt;
   &lt;tags&gt;&lt;![CDATA[    ]]&gt;&lt;/tags&gt;
       &lt;author&gt;&lt;![CDATA[   ]]&gt; &lt;/author&gt;
       &lt;date&gt;    &lt;/date&gt;
       &lt;body&gt;&lt;![CDATA[    ]]&gt;&lt;/body&gt;
       &lt;url&gt;&lt;![CDATA[   ]]&gt;&lt;/url&gt;
       &lt;email&gt;&lt;![CDATA[   ]]&lt;/email&gt;
<p>The content of the body tag should be in HTML (not structured-text, not reStructuredText), and enclosed in a CDATA section.</p>
<p>To identify diferent tags within &lt;tags&gt;, each tag must be separated by ;. Examples:</p>
<ul class="simple">
<p>I know that it's not very smart to enclose everything in CDATA sections, bat it's the easiest way for avoiding navigators and parsers complaining about '&amp;' and so on.</p>
<p>After preparing that file, you can upload it using 'prefs' tab of your blog admin site.</p>
<p>XML file format and testing contributed by Aitzol Naberan and Peio Arreitu from <a class="reference" href="http://www.atxukale.com">Atxukale.com</a></p>