Changeset 3517 for trunk/wp-admin/import/rss.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/rss.php
r3374 r3517 20 20 return strtr($string, $trans_tbl); 21 21 } 22 22 23 23 function greet() { 24 24 echo '<p>'.__('Howdy! This importer allows you to extract posts from any RSS 2.0 file into your blog. This is useful if you want to import your posts from a system that is not handled by a custom import tool. Pick an RSS file to upload and click Import.').'</p>'; … … 28 28 function get_posts() { 29 29 global $wpdb; 30 30 31 31 set_magic_quotes_runtime(0); 32 32 $datalines = file($this->file); // Read the file into an array … … 135 135 $this->import_posts(); 136 136 wp_import_cleanup($file['id']); 137 137 138 138 echo '<h3>'; 139 139 printf(__('All done. <a href="%s">Have fun!</a>'), get_option('home')); … … 148 148 149 149 $this->header(); 150 150 151 151 switch ($step) { 152 152 case 0 : … … 157 157 break; 158 158 } 159 159 160 160 $this->footer(); 161 161 } 162 162 163 163 function RSS_Import() { 164 // Nothing. 164 // Nothing. 165 165 } 166 166 }
Note: See TracChangeset
for help on using the changeset viewer.