PHP Classes

Wiki Parser: Retrieve and process articles from Wikipedia

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (11)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 27%Total: 4,590 All time: 612 This week: 524Up
Version License PHP version Categories
wikiparser 1.0.0GNU General Publi...3XML, Content management, Web services, P...


This package can be used to retrieve documents from Wikipedia or any other MediaWiki based site and convert the wiki markup into plain HTML.

Picture of Helmut Daschnigrum
Name: Helmut Daschnigrum <contact>
Classes: 6 packages by
Country: Canada Canada
Age: ???
All time rank: 1037 in Canada Canada
Week rank: 84 Up1 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x


WikiRetriever Version 1.0 Copyright 2005, Steve Blinch 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 = ""; $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

  Files folder image Files  
File Role Description
Plain text file class_WikiParser.php Class Main class file
Plain text file class_WikiRetriever.php Class Wiki document retriever class
Plain text file class_XMLParser.php Class XML parser class
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Lic. License terms
Accessible without login Plain text file README Doc. Documentation 17KB
Downloadwikiparser-2006-05-15.tar.gz 15KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
HTTP Retriever Download .zip .tar.gz Provides HTTP request functionality Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:612
This week:524Up
User Ratings User Comments (6)
 All time
This is deprecated !!!!!!!!!!!!
7 years ago (Eyal)
This is deprecated !!!!!!!!!!!!
7 years ago (Eyal)
Pure waiste of time.
13 years ago (Dharmendra)
Excelent, but do not show math images.
12 years ago (Moises Narvaez)
This is a total crap package.
16 years ago (Ryan Hansen)
I tried to like it, but I can't get it to work at all!
14 years ago (Rob Dixon)