Make WordPress Core

Ticket #10619: test-postmeta.wxr

File test-postmeta.wxr, 3.0 KB (added by johncoswell, 15 years ago)

Test WXR file with serialized postmeta value

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your blog. -->
3<!-- It contains information about your blog's posts, comments, and categories. -->
4<!-- You may use this file to transfer that content from one site to another. -->
5<!-- This file is not intended to serve as a complete backup of your blog. -->
6
7<!-- To import this information into a WordPress blog follow these steps. -->
8<!-- 1. Log into that blog as an administrator. -->
9<!-- 2. Go to Tools: Import in the blog's admin panels (or Manage: Import in older versions of WordPress). -->
10<!-- 3. Choose "WordPress" from the list. -->
11<!-- 4. Upload this file using the form provided on that page. -->
12<!-- 5. You will first be asked to map the authors in this export file to users -->
13<!--    on the blog.  For each author, you may choose to map to an -->
14<!--    existing user on the blog or to create a new user -->
15<!-- 6. WordPress will then import each of the posts, comments, and categories -->
16<!--    contained in this file into your blog -->
17
18<!-- generator="WordPress/2.8.4" created="2009-12-04 09:06"-->
19<rss version="2.0"
20        xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/"
21        xmlns:content="http://purl.org/rss/1.0/modules/content/"
22        xmlns:wfw="http://wellformedweb.org/CommentAPI/"
23        xmlns:dc="http://purl.org/dc/elements/1.1/"
24        xmlns:wp="http://wordpress.org/export/1.0/"
25>
26
27<channel>
28        <title>Test With Serialized Postmeta</title>
29        <link>http://test.wordpress.org/</link>
30        <description>Just another blog</description>
31        <pubDate>Mon, 30 Nov 2009 21:35:27 +0000</pubDate>
32        <generator>http://wordpress.org/?v=2.8.4</generator>
33        <language>en</language>
34        <wp:wxr_version>1.0</wp:wxr_version>
35        <wp:base_site_url>http://test.wordpress.org/</wp:base_site_url>
36        <wp:base_blog_url>http://test.wordpress.org/</wp:base_blog_url>
37                <item>
38<title>My Entry with Postmeta</title>
39<link>http://test.wordpress.org/postemta</link>
40<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
41<dc:creator><![CDATA[johncoswell]]></dc:creator>
42
43                <category><![CDATA[Uncategorized]]></category>
44
45                <category domain="category" nicename="uncategorized"><![CDATA[Uncategorized]]></category>
46
47<guid isPermaLink="false">http://test.wordpress.org/postmeta</guid>
48<description></description>
49<content:encoded><![CDATA[This is my content]]></content:encoded>
50<excerpt:encoded><![CDATA[]]></excerpt:encoded>
51<wp:post_id>122</wp:post_id>
52<wp:post_date>2009-10-20 16:13:20</wp:post_date>
53<wp:post_date_gmt>0000-00-00 00:00:00</wp:post_date_gmt>
54<wp:comment_status>open</wp:comment_status>
55<wp:ping_status>open</wp:ping_status>
56<wp:post_name></wp:post_name>
57<wp:status>draft</wp:status>
58<wp:post_parent>0</wp:post_parent>
59<wp:menu_order>0</wp:menu_order>
60<wp:post_type>post</wp:post_type>
61<wp:post_password></wp:post_password>
62<wp:postmeta>
63<wp:meta_key>post-options</wp:meta_key>
64<wp:meta_value>a:2:{s:18:"special_post_title";s:15:"A special title";s:11:"is_calendar";s:0:"";}</wp:meta_value>
65</wp:postmeta>
66
67        </item>
68        </channel>
69</rss>