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,589 All time: 612 This week: 189Up
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: 312 Down11 in Canada Canada Down
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  
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

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,589
This week:0
All time:612
This week:189Up
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:4283
 
This is deprecated !!!!!!!!!!!!
7 years ago (Eyal)
0%Star
This is deprecated !!!!!!!!!!!!
7 years ago (Eyal)
0%Star
Pure waiste of time.
13 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!
14 years ago (Rob Dixon)
10%Star