Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > convert wikipedia to html?

Reply
Thread Tools

convert wikipedia to html?

 
 
dt
Guest
Posts: n/a
 
      03-04-2007
I have looked at all the perl modules and code for getting wikipedia
data to html and I have found nothing that does that or nothing that
works.

the WebService-SimpleAPI-Wikipedia-0.01 does not seem to be a working
distro (perl Makefile.pl does not run)

is there an easy way to convert a WIKI page to html by querying the
site, keeping all the formatting?

 
Reply With Quote
 
 
 
 
anno4000@radom.zrz.tu-berlin.de
Guest
Posts: n/a
 
      03-04-2007
dt <> wrote in comp.lang.perl.misc:
> I have looked at all the perl modules and code for getting wikipedia
> data to html and I have found nothing that does that or nothing that
> works.
>
> the WebService-SimpleAPI-Wikipedia-0.01 does not seem to be a working
> distro (perl Makefile.pl does not run)
>
> is there an easy way to convert a WIKI page to html by querying the
> site, keeping all the formatting?


Huh? It *is* html as it comes. Just save it.

Anno
 
Reply With Quote
 
 
 
 
dt
Guest
Posts: n/a
 
      03-06-2007

> Huh? It *is* html as it comes. Just save it.
>
> Anno


Wikipedia uses a custom format that is NOT html. I am not referring to
their page as browsed on the web, but from their backend API.

it needs to be converted to html/.

 
Reply With Quote
 
Xiong Changnian
Guest
Posts: n/a
 
      04-01-2007
In article < .com>,
"dt" <> wrote:

> is there an easy way to convert a WIKI page to html by querying the
> site, keeping all the formatting?


Um, this may not be what you want to hear, but why not just install
MediaWiki, the engine that drives Wikipedia in the first place? It's GPL
freeware.

You can hook into it from your script if you want to do something it
doesn't do. Meanwhile, you've got a complete install so you can do
anything you could if you were "at" WP itself. Be Jimbo!

If you just want to customize the way in which the HTML page is
composed, check out "skins".
--
Xiong Changnian
xiong102ATxuefangDOTcom

--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 1.5 Wikipedia search engine Chuck Firefox 12 12-02-2005 10:05 PM
external link symbol at wikipedia? T.J. HTML 7 04-18-2005 12:05 PM
Pseudocode in the wikipedia bearophileHUGS@lycos.com Python 8 04-02-2005 03:39 AM
Wikipedia - conversion of in SQL database stored data to HTML Claudio Grondi Python 3 03-22-2005 07:11 PM
XML Wiki schemas (like WikiPedia)? Steve Lackey XML 0 02-11-2004 07:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57