Convert Wikipedia XML data to HTMLtext

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

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

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

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
Compressed stack
(96.37 KiB) Downloaded 5 times

bogs
Posts: 744
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 !
ImageImage

Post Reply

Return to “Internet”