Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2008-03-10 (8 years ago) | 64% | Total: 1,691 This week: 1 | All time: 2,247 This week: 1,047 |
Version | License | Categories | ||||
googleitnews 1.0.0 | GNU General Publi... | Text processing, Web services |
Description | Author | |||||||||||||
This class is meant to get the latest headline from Google news site. |
|
README for the GoogleIt class by Umang Beri *****QUICK NOTE***** This program was written when Google News did not have any Atom feeds or RSS feeds. They've changed their layout of the front page a few times and they also support the xml feeds which makes this application redundant and useless to update. I'm leaving it around for people to check out though. 1.0 What is a GoogleIt? 1.1 What are the applications for GoogleIt? 1.2 What are future plans? 2.0 How to use the class? 3.0 Author 3.1 License 4.0 Version *** 1.0 What is a GoogleIt? GoogleIt gets the first headline that is spat out by google news based on the topic you wanted. *** 1.1 What are the applications for GoogleIt? At the moment, you can just get the latest headline (ranging from 1 to 10 articles). More types of versions will be coming out soon. *** 1.2 This was originally made for one of my sites and I figured I would share it and changed it around so more people could use it. Since this project was more of a by chance effort than a planned one, features are low, so added features in the future will look like: i. Choose the number of headlines you want to view (Done) ii. Other News Search Engines will be made as well *** 2.0 How to use the class? Three lines of code: //Include the class file require (GoogleClass.php); //First you specify that it is an object $blah = new GoogleIt("Change Text Here"); //Then you tell it I want to print out whatever $blah->GoogleD finds. echo $blah->GoogleD(); /*Note: For the above, you can also put in a number ranging 1 to 10. Default is 10. This tells the class how many articles you want shown. eg. */ echo $blah->GoogleD(5); //list 5 stories There are now two paramaters, which you can treat like a string, which will get the headlines from news.Google.com The string can be of any length. Google Tags were removed so that the topics can be shifted around so that it can suit any site. *** 3.0 Author Umang Beri http://duniyadnd.ithium.net http://www.footymania.com *** 3.1 License GNU General Public License (Version 2, June 1991) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This Readme.txt file Must be distributed along with the original/modified files. This program 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 General Public License for more details @ http://www.gnu.org/licenses/gpl.txt Give credit to Google whenever you using their service. *** 4.0 License Version: 1.2 |
Files |
File | Role | Description |
---|---|---|
googleClass.php | Class | Where the main stuff happens |
GoogleDIT.php | Example | Example |
Readme.txt | Doc. | Readme |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.