Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (11) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() | Total: 4,586 | All time: 612 This week: 198![]() |
Version | License | PHP version | Categories | |||
wikiparser 1.0.0 | GNU General Publi... | 3 | XML, Content management, Web services, P... |
Description | Author | |||||||||||||||||||||||
This package can be used to retrieve documents from Wikipedia or any other MediaWiki based site and convert the wiki markup into plain HTML. |
|
WikiRetriever Version 1.0 Copyright 2005, Steve Blinch http://code.blitzaffe.com This class fetches one or more documents from Wikipedia (or any other MediaWiki wiki), translates them into HTML, and returns them. EXAMPLE // // Simple WikiRetriever usage example // require_once('class_WikiRetriever.php'); $url = "http://www.yourwikisite.com"; $titles = array("First_article","Second_article"); $wiki = &new WikiRetriever(); if (!$wiki->retrieve($url,$titles)) { die("Error: $wiki->error"); } else { var_dump($wiki->pages); } LICENSE This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | Main class file |
![]() |
Class | Wiki document retriever class |
![]() |
Class | XML parser class |
![]() ![]() |
Example | Example script |
![]() ![]() |
Lic. | License terms |
![]() ![]() |
Doc. | Documentation |
![]() | wikiparser-2006-05-15.zip 17KB |
![]() | wikiparser-2006-05-15.tar.gz |
![]() | Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
HTTP Retriever | ![]() |
Provides HTTP request functionality | Required |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (6) | |||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
Always keep an eye on the geeks If you’re using site generation tools, there’s a good chance that at some point you’ll either want to add your own scripts to make your job easier or your results more effective, or have someone write code for you. Half the problem is writing the code. But only half. The other is knowing what the code should do... |
My Wiki Parser Class for PHP I was looking for a script which could parse wiki syntax which is used in Google Code... |
Recherches bibliographiques Voici les principaux articles et liens trouvés lors de mes recherches:... |
Sfruttare il parser di MediaWiki Mi servirebbe un parser per trasformare i testi di una Wiki e stamparli a video... |