From d48e85e0ac5e675ca33fac173f30c75403d1033f Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 22 Jun 2006 18:31:50 +0000 Subject: Moved everything in wp-inst down a directory. Uses's Ryan Boren's htaccess rules and mods If you're upgrading, try this on a test server first! git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@591 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/export.php | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 wp-admin/export.php (limited to 'wp-admin/export.php') diff --git a/wp-admin/export.php b/wp-admin/export.php new file mode 100644 index 0000000..8894f29 --- /dev/null +++ b/wp-admin/export.php @@ -0,0 +1,106 @@ + + +
+

+

+

We need some more text here. Maybe talking about the export file or how to save it.

+
+

+ +

+
+
+ +get_results("SELECT * FROM $wpdb->posts ORDER BY post_date_gmt ASC"); +?> + + + + + <?php bloginfo_rss('name'); ?> + + + + http://wordpress.org/?v= + + + + +<?php the_title_rss() ?> + + + + + + + +post_content ?>]]> +post_date; ?> +post_date_gmt; ?> +comment_status; ?> +ping_status; ?> +post_name; ?> +post_status; ?> +post_parent; ?> +post_type; ?> +get_results("SELECT * FROM $wpdb->postmeta WHERE post_id = $post->ID"); +if ( $postmeta ) { +?> + + +meta_key; ?> +meta_value; ?> + + + +get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $post->ID"); +if ( $comments ) { foreach ( $comments as $c ) { ?> + +comment_author; ?> +comment_author_email; ?> +comment_author_url; ?> +comment_author_IP; ?> +comment_date; ?> +comment_date_gmt; ?> +comment_content; ?> +comment_approved; ?> +comment_type; ?> +comment_parent; ?> + + + + + + + \ No newline at end of file -- cgit