Convert Wikipedia XML data to HTMLtext

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Convert Wikipedia XML data to HTMLtext

Post by capellan »

Searching for another file in my email, I found this stack. :)

This code parses Wikipedia XML data into HTMLtext to display inside a field.

Notice that you could paste the XML data copied from a Wikipedia webpage into the field labeled
"Wikipedia XML Data".

For example, you can copy the source from this page: (The Text field under the phrase:
"You can view and copy the source of this page:")
http://en.wikipedia.org/w/index.php?tit ... ction=edit

Click the button and the XML is converted to HTMLtext.
Notice that the conversion is imperfect, but it's a starting point.

Al
Wikipedia_XML_to_HTMLtext.zip
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Convert Wikipedia XML data to HTMLtext

Post by bogs »

Nice find !
Image
Post Reply