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 » Mon Dec 04, 2017 3:59 am

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: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Convert Wikipedia XML data to HTMLtext

Post by bogs » Mon Dec 04, 2017 4:07 am

Nice find !
Image

Post Reply

Return to “Internet”