From 3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 3 Feb 2021 19:17:00 -0500 Subject: New upstream version 8.1.2. --- .../wordpress_import/wordpress_export_example.xml | 322 +++++++++++++++++++++ .../wordpress_qtranslate_item_modernized.xml | 30 ++ .../wordpress_qtranslate_item_raw_export.xml | 30 ++ .../wordpress_import/wordpress_unicode_export.xml | 114 ++++++++ 4 files changed, 496 insertions(+) create mode 100644 tests/data/wordpress_import/wordpress_export_example.xml create mode 100644 tests/data/wordpress_import/wordpress_qtranslate_item_modernized.xml create mode 100644 tests/data/wordpress_import/wordpress_qtranslate_item_raw_export.xml create mode 100644 tests/data/wordpress_import/wordpress_unicode_export.xml (limited to 'tests/data/wordpress_import') diff --git a/tests/data/wordpress_import/wordpress_export_example.xml b/tests/data/wordpress_import/wordpress_export_example.xml new file mode 100644 index 0000000..e2401f7 --- /dev/null +++ b/tests/data/wordpress_import/wordpress_export_example.xml @@ -0,0 +1,322 @@ + + + + + + Wordpress blog title + http://some.blog + Nikola test blog ;) - with moré Ümläüts + Wed, 25 Jul 2012 22:31:24 +0000 + de-DE + 1.2 + http://some.blog + http://some.blog + + 2Nikomail@some.blog + + 11programmierung + 501dotnet + + http://wordpress.org/?v=3.4.1 + + + Arzt+Pfusch - S.I.C.K. + http://some.blog/2008/07/arzt-und-pfusch-s-i-c-k/arzt_und_pfusch-sick-cover/ + Thu, 16 Jul 2009 19:40:37 +0000 + Niko + http://some.blog/wp-content/uploads/2008/07/arzt_und_pfusch-sick-cover.png + + + + 10 + 2009-07-16 21:40:37 + 2009-07-16 19:40:37 + open + open + arzt_und_pfusch-sick-cover + inherit + 6 + 0 + attachment + + 0 + http://some.blog/wp-content/uploads/2008/07/arzt_und_pfusch-sick-cover.png + + _wp_attached_file + + + + _wp_attachment_metadata + + + + + + Transformation test + http://some.blog/2007/04/hoert/ + Fri, 27 Apr 2007 13:02:35 +0000 + Niko + http://some.blog/?p=17 + + [/caption] + +Some source code. + +[sourcecode language="Python"] +import sys +print sys.version +[/sourcecode] + +The end. +]]> + + 17 + 2007-04-27 15:02:35 + 2007-04-27 13:02:35 + open + open + hoert + publish + 0 + 0 + post + + 0 + + + + + + _edit_last + + + + + + Arzt+Pfusch - S.I.C.K. + http://some.blog/2008/07/arzt-und-pfusch-s-i-c-k/ + Sat, 12 Jul 2008 19:22:06 +0000 + Niko + http://some.blog/?p=6 + + Arzt+Pfusch - S.I.C.K.Gerade bin ich über das Album S.I.C.K von Arzt+Pfusch gestolpert, welches Arzt+Pfusch zum Download für lau anbieten. Das Album steht unter einer Creative Commons BY-NC-ND-Lizenz. +Die Ladung noisebmstupidevildustrial gibts als MP3s mit 64kbps und VBR, als Ogg Vorbis und als FLAC (letztere hier). Artwork und Lyrics gibts nochmal einzeln zum Download.]]> + + 6 + 2008-07-12 21:22:06 + 2008-07-12 19:22:06 + open + open + arzt-und-pfusch-s-i-c-k + publish + 0 + 0 + post + + 0 + + + + + + + + + + + + _edit_last + + + + + + Kontakt + http://some.blog/kontakt/ + Thu, 16 Jul 2009 18:20:32 +0000 + Niko + http://some.blog/?page_id=3 + + Datenschutz +Ich erhebe und speichere automatisch in meine Server Log Files Informationen, die dein Browser an mich übermittelt. Dies sind: +
    +
  • Browsertyp und -version
  • +
  • verwendetes Betriebssystem
  • +
  • Referrer URL (die zuvor besuchte Seite)
  • +
  • IP Adresse des zugreifenden Rechners
  • +
  • Uhrzeit der Serveranfrage.
  • +
+Diese Daten sind für mich nicht bestimmten Personen zuordenbar. Eine Zusammenführung dieser Daten mit anderen Datenquellen wird nicht vorgenommen, die Daten werden einzig zu statistischen Zwecken erhoben.]]>
+ + 3 + 2009-07-16 20:20:32 + 2009-07-16 18:20:32 + closed + closed + kontakt + publish + 0 + 0 + page + + 0 + + _edit_last + + + + _wp_page_template + + +
+ + Indentation Test + http://some.blog/2012/04/indentation_test/ + Sun, 15 Apr 2012 11:44:59 +0000 + Niko + http://some.blog/?p=2077 + + class Borg: + _state = {} + def __init__(self): + self.__dict__ = self._state +  + +Here is a listing made with HTML that should display without the HTML being visible to the visitor. +
    +
  • to post: groupname@googlegroups.com
  • +
  • to subscribe: groupname+subscribe@googlegroups.com
  • +
  • to unsubscribe: groupname+unsubscribe@googlegroups.com
  • +
+ +A listing with another listing inside. +
    +
  • foo +
      +
    • bar +
    +
+]]>
+ + 2077 + 2012-04-15 12:44:59 + 2012-04-15 11:44:59 + open + open + python-borg-pattern + publish + 0 + 0 + post + + 0 + + + + + _edit_last + + +
+ + + Screenshot - 2012-12-19 + http://some.blog/2012/12/wintermodus/2012-12-19-1355925145_1024x600_scrot/ + Wed, 19 Dec 2012 13:53:19 +0000 + Niko + http://some.blog/wp-content/uploads/2012/12/2012-12-19-355925145_1024x600_scrot.png + + + + 2271 + 2012-12-19 14:53:19 + 2012-12-19 13:53:19 + open + open + 2012-12-19-1355925145_1024x600_scrot + inherit + 2270 + 0 + attachment + + 0 + http://some.blog/wp-content/uploads/2012/12/2012-12-19-355925145_1024x600_scrot.png + + _wp_attached_file + + + + _wp_attachment_metadata + + + + + + NoirsEtPleinsDeLumière + http://some.blog/2011/04/noirs-et-pourtant-pleins-de-lumiere/noirsetpleinsdelumiere/#main + Tue, 12 Apr 2011 21:56:05 +0000 + + http://some.blog/wp-content/uploads/2011/04/NoirsEtPleinsDeLumière.jpg + + + + 724 + 2011-04-12 23:56:05 + 2011-04-12 21:56:05 + open + closed + noirsetpleinsdelumiere + inherit + 723 + 0 + attachment + + 0 + http://some.blog/wp-content/uploads/2011/04/NoirsEtPleinsDeLumière.jpg + + _wp_attachment_metadata + + + + _wp_attached_file + + + + + Image Link Rewriting + http://some.blog/2012/12/wintermodus/ + Wed, 19 Dec 2012 13:55:10 +0000 + Niko + http://some.blog/?p=2270 + + Netbook Screenshot - 2012-12-19]]> + + 2270 + 2012-12-19 14:55:10 + 2012-12-19 13:55:10 + open + open + image-link-rewriting + publish + 0 + 0 + post + + 0 + + +
+
diff --git a/tests/data/wordpress_import/wordpress_qtranslate_item_modernized.xml b/tests/data/wordpress_import/wordpress_qtranslate_item_modernized.xml new file mode 100644 index 0000000..2622bfd --- /dev/null +++ b/tests/data/wordpress_import/wordpress_qtranslate_item_modernized.xml @@ -0,0 +1,30 @@ + + [:fr]Sous le ciel[:][:en]Under heaven[:] + http://www.tibonihoo.net/blog/2014/05/sous-le-ciel/ + Sat, 03 May 2014 13:20:32 +0000 + + http://www.tibonihoo.net/blog/?p=1585 + + IMG_6851[:][:en]IMG_6851[:]]]> + + 1585 + + + + + + + 0 + 0 + + + 0 + + + + + + + + + diff --git a/tests/data/wordpress_import/wordpress_qtranslate_item_raw_export.xml b/tests/data/wordpress_import/wordpress_qtranslate_item_raw_export.xml new file mode 100644 index 0000000..50bac7b --- /dev/null +++ b/tests/data/wordpress_import/wordpress_qtranslate_item_raw_export.xml @@ -0,0 +1,30 @@ + + <!--:fr-->Sous le ciel<!--:--><!--:en-->Under heaven<!--:--> + http://www.tibonihoo.net/blog/2014/05/sous-le-ciel/ + Sat, 03 May 2014 13:20:32 +0000 + + http://www.tibonihoo.net/blog/?p=1585 + + IMG_6851IMG_6851]]> + + 1585 + + + + + + + 0 + 0 + + + 0 + + + + + + + + + diff --git a/tests/data/wordpress_import/wordpress_unicode_export.xml b/tests/data/wordpress_import/wordpress_unicode_export.xml new file mode 100644 index 0000000..b2204fc --- /dev/null +++ b/tests/data/wordpress_import/wordpress_unicode_export.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + Nikola Unicode Test ͵pó®t + http://nikolaunicode.wordpress.com + The greatest WordPress.com site in all the land! + Tue, 25 Dec 2012 21:39:30 +0000 + en + 1.2 + http://wordpress.com/ + http://nikolaunicode.wordpress.com + + 3804924ralsinaroberto.alsina@gmail.com + + 1uncategorized + 132937998thag1 + 132937999thag%c2%b2 + + http://wordpress.com/ + + + https://s2.wp.com/i/buttonw-com.png + Nikola Unicode Test ͵pó®t + http://nikolaunicode.wordpress.com + + + -- cgit v1.2.3