Convert Wikipedia XML data to HTMLtext

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

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Posts: 441
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:") ... ction=edit

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

Compressed stack
(96.37 KiB) Downloaded 26 times

Posts: 1919
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 !

Post Reply

Return to “Internet”