PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-05-15 (11 years ago) RSS 2.0 feedStarStar 26%Total: 4,574 All time: 596 This week: 648Down
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.

Name: Helmut Daschnigrum <contact>
Classes: 6 packages by
Country: Canada Canada
Age: ???
All time rank: 1017 in Canada Canada
Week rank: 1118 Down24 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,574
This week:0
All time:596
This week:648Down
User Ratings User Comments (6)
 All time
Utility:30%StarStar
Consistency:41%StarStarStar
Documentation:36%StarStar
Examples:30%StarStar
Tests:-
Videos:-
Overall:26%StarStar
Rank:3233
 
This is deprecated !!!!!!!!!!!!
1 year ago (Eyal)
0%Star
This is deprecated !!!!!!!!!!!!
1 year ago (Eyal)
0%Star
Pure waiste of time.
7 years ago (Dharmendra)
0%Star
Excelent, but do not show math images.
5 years ago (Moises Narvaez)
80%StarStarStarStarStar
This is a total crap package.
9 years ago (Ryan Hansen)
7%Star
I tried to like it, but I can't get it to work at all!
8 years ago (Rob Dixon)
10%Star