Changeset 4477
- Timestamp:
- 11/18/2006 01:27:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/export.php
r4424 r4477 31 31 header('Content-Type: application/octet-stream'); 32 32 header("Content-Disposition: attachment; filename=$filename"); 33 header('Content-type: text/ xml; charset=' . get_option('blog_charset'), true);33 header('Content-type: text/wxr+xml; charset=' . get_option('blog_charset'), true); 34 34 //$posts = query_posts(''); 35 35 $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts ORDER BY post_date_gmt ASC"); 36 36 ?> 37 <!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your blog. --> 38 <!-- It contains information about your blog's posts, comments, and categories. --> 39 <!-- You may use this file to transfer that content from one site to another. --> 40 <!-- To import this information into a WordPress blog, --> 41 <!-- 1. Log into that blog as an administrator --> 42 <!-- 2. Go to Manage: Import in the blog's admin panels --> 43 <!-- 3. Choose "WordPress" from the list --> 44 <!-- 4. Upload this file using the form provided on that page --> 45 <!-- You will be taken through the simple import procedure. --> 46 37 47 <!-- generator="wordpress/<?php bloginfo_rss('version') ?>" created="<?php echo date('Y-m-d H:m'); ?>"--> 38 48 <rss version="2.0"
Note: See TracChangeset
for help on using the changeset viewer.