PHP Classes

Wiki Parser: Retrieve and process articles from Wikipedia

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   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...
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.

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: 53 Up1 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x

Details

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

  Files folder image Files (6)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadwikiparser-2006-05-15.zip 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  
 0%
Total:4,590
This week:0
All time:612
This week:524Up
User Ratings User Comments (6)
 All time
Utility:32%StarStar
Consistency:42%StarStarStar
Documentation:37%StarStar
Examples:32%StarStar
Tests:-
Videos:-
Overall:27%StarStar
Rank:4387
 
This is deprecated !!!!!!!!!!!!
8 years ago (Eyal)
0%Star
This is deprecated !!!!!!!!!!!!
8 years ago (Eyal)
0%Star
Pure waiste of time.
14 years ago (Dharmendra)
0%Star
Excelent, but do not show math images.
12 years ago (Moises Narvaez)
80%StarStarStarStarStar
This is a total crap package.
16 years ago (Ryan Hansen)
7%Star
I tried to like it, but I can't get it to work at all!
15 years ago (Rob Dixon)
10%Star