Opened 17 years ago
Closed 15 years ago
#5547 closed defect (bug) (duplicate)
imported article from rss file can't display its contents
Reported by: | apzc2529 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.3.1 |
Component: | General | Keywords: | importer rss |
Focuses: | Cc: |
Description
hi,today I use rss importer(url: http://*/wp-admin/admin.php?import=rss) to import my rss into wordpress.I find some arctile imported can't display its contents.
I do some tests.The following is my former rss file's contents:
<?xml version="1.0" encoding="utf-8" ?> <!-- generator="soft.pt42.cn" --> <rss version="2.0"> <channel> <item> <title><![CDATA[Is this a bug of Wordpress?]]></title> <link>http://apzc2529.cublog.cn</link> <description><DIV>Is this a bug of Wordpress?</DIV> '''<DIV> </DIV> <DIV> </DIV>''' I can't import my rss to wordpress in right format! This because space in environment DIV! '''<DIV> <BR>''' </DIV></description> <pubDate>Sat, 31 Mar 2007 12:58:00 GMT+8</pubDate> </item> </channel> </rss
I delete the part of bold fonts,and it become to
<?xml version="1.0" encoding="utf-8" ?> <!-- generator="soft.pt42.cn" --> <rss version="2.0"> <channel> <item> <title><![CDATA[Is this a bug of Wordpress?]]></title> <link>http://blog.chinaunix.net/u/16471/showart.php?id=108187</link> <description><DIV>Is this a bug of Wordpress?</DIV> I can't import my rss to wordpress in right format! This because space in environment DIV! </description> <pubDate>Sat, 31 Mar 2007 12:58:00 GMT+8</pubDate> </item> </channel> </rss
Then I can import this rss file,its contents display.
That's all.
Change History (1)
Note: See
TracTickets for help on using
tickets.
there is a dup of this one, related to making the exporter output valid xml. but it won't get fixed until the importer gets revamped too. and the importer works even without valid xml...