PHP Classes

Today's Joke: Retrieve the today's joke from the jokes2go site

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
StarStarStar 57%Total: 434 All time: 6,292 This week: 524Up
Version License Categories
todayjoke 1.0GNU General Publi...Web services
Description 

Author

This is a very simple class that can be used to retrieve the today's joke from the jokes2go.com Web site.

It accesses the jokes2go.com site and retrieves the today's joke page. The page contents is clipped to extract the joke text, which is returned as string.

Picture of Ashraf Gheith
  Performance   Level  
Name: Ashraf Gheith <contact>
Classes: 9 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Age: 41
All time rank: 131 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 304 Down2 in Bosnia and Herzegovina Bosnia and Herzegovina Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file class.joke.php Class Main Class
Accessible without login Plain text file index.php Example Example file

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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:434
This week:0
All time:6,292
This week:524Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1636