Bitakora import
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"> <head> <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/" /> <title>IMPORT.txt</title> <link rel="stylesheet" href="default.css" type="text/css" /> </head> <body> <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"> <?xml version="1.0" encoding="UTF-8"?> <posts> <post> <author> </author> <title><![CDATA[ ]]></title> <date> </date> <body><![CDATA[ ]]></body> <tags><![CDATA[ ]]></tags> <comments> <comment> <author><![CDATA[ ]]> </author> <date> </date> <body><![CDATA[ ]]></body> <url><![CDATA[ ]]></url> <email><![CDATA[ ]]</email> </comment> <comment> ... </comment> </comments> </post> <post> ... </post> </posts> </pre> <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 <tags>, each tag must be separated by ;. Examples:</p> <ul class="simple"> <li><tags>sport;football;arsenal;chelsea</tags></li> <li><tags>mycat</tags></li> <li>etc</li> </ul> <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 '&' 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> </div> </body> </html>