SVNLabs Tools

On October 15, 2011, in Amazon Cloud EC2 S3, Concentrate, CURL, Imagine, Launch, Observe, Open Source, PEAR, PHP, Tricks, Web Application, by Sandeep Verma

Hits: 227  HTML2CSV converts html/xhtml to csv/xls. VMG2TXT converts Nokia VMG message file to text file. VCard Parser Extract information from VCard. HTML2RSS converts html/xhtml to rss/xml feed. Amazon S3 upload file to Amazon S3 Bucket. CSV Mapper Import CSV file after adjusting Columns. JavaScript Twitter Bird a2zVideoAPI – search videos with page link Spiderman – [...]

Craigslist Scraper Tool

On October 15, 2011, in Concentrate, CURL, Imagine, LAMP, Launch, Learning, Observe, PEAR, PHP, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 356  Craigslist Scraper Tool parses and stores the Craigslist Post Location, PostID, Title, Email, Content etc. This tool can export scrapped data into CSV, XML, SQL, RSS, TXT, PDF, JSON, HTML Craigslist.org is a great source of quality, targeted offline clients. It’s organized by geography (by state, by region, by city) and by niche. Certain [...]

The best way to consume API

On June 7, 2011, in Concentrate, CURL, Imagine, LAMP, Launch, Observe, Open Source, PHP, Shared Library, Tricks, Web Services, by Sandeep Verma

Hits: 255      <?php require_once(‘lib/nusoap.php’); $url = “http://www.hotelscombined.com/api/wsdl/SearchSoap.wsdl”; // web service URL $client = new nusoap_client($url, false); // soap client to consume API // XML payload from “soapUI” to send over wsdl server $xmlRequest=’<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:tem=”http://tempuri.org/” xmlns:hot=”http://schemas.datacontract.org/2004/07/HotelsCombined.WebServices.Version4″>    <soapenv:Header/>    <soapenv:Body>       <tem:HotelSearch>          <!–Optional:–>          <tem:request>             <hot:ApiKey>?</hot:ApiKey>             <hot:Checkin>?</hot:Checkin>             <hot:Checkout>?</hot:Checkout>             <hot:DisplayCurrency>?</hot:DisplayCurrency>             <hot:Guests>?</hot:Guests>             <hot:HotelID>?</hot:HotelID>             <hot:LanguageCode>?</hot:LanguageCode>             <hot:Rooms>?</hot:Rooms>             <hot:TimeOutInSeconds>?</hot:TimeOutInSeconds>             <hot:UserAgent>?</hot:UserAgent>             <hot:UserID>?</hot:UserID>             <hot:UserIPAddress>?</hot:UserIPAddress>          </tem:request> [...]

How to check RTMP source stream is live or not?

On May 28, 2011, in Amazon Cloud EC2 S3, Concentrate, CURL, Imagine, Launch, Linux, Observe, Tricks, by Sandeep Verma

Hits: 698   Dear Friends, You can check RTMP Source is live or not using socket programming, but that will not give you exact output. Today I have tried Linux utility “rtmpdump” to test & check RTMP Source it produced quite interesting results on command line…. # rtmpdump -v -r rtmp://giraldatvlivefs.fplive.net/giraldatvlive-live/stream001 -o /tmp/rtmp-checker.log <?php /*  * [...]

Tagged with:  

Save Facebook Profile Photo

On May 7, 2011, in Concentrate, CURL, facebook, Imagine, LAMP, Launch, Observe, PHP, Tricks, by Sandeep Verma

Hits: 243   <?php $facebook_uid = ’100000296428149′; $sourcecode = save_facebook_profile_photo($facebook_uid); print_r($sourcecode); file_put_contents(“images/”.$facebook_uid.”.jpg”, file_get_contents($sourcecode['url'])); //this is name of new file that i save function save_facebook_profile_photo( $id ) {     $options = array(         CURLOPT_RETURNTRANSFER => true, // return web page         CURLOPT_HEADER => false, // don’t return headers         CURLOPT_FOLLOWLOCATION => true, // follow redirects         CURLOPT_ENCODING => “”, // handle all [...]

Facebook Search Users with Email and Save to Database

On April 25, 2011, in Concentrate, CURL, facebook, Imagine, LAMP, Launch, Observe, Tricks, by Sandeep Verma

Hits: 221  Search Facebook Users in Facebook website and save to any external database (text, csv, json, xml etc.)……

Amazon E-Commerce Service or ECS

On December 11, 2010, in Amazon Web Services, CURL, LAMP, Open Source, PEAR, Tricks, Web Services, by Sandeep Verma

Hits: 180  Amazon’s ECS is very good service for accessing Amazon’s product database. We can register to this web service quickly, It provides a free access key to access Amazon Store. Amazon have rich set of web services Web Services are used to access DATA over cross platform environments. Using ECS-driven websites and applications, we can earn [...]

Block badAgents on site

On December 4, 2010, in CURL, LAMP, Linux, Open Source, PHP, Tips, by Sandeep Verma

Hits: 114  PHP is very powerful language to block bad agents. Below is the code to avoid webspider using PHP in_array(). <?php $badAgents = array(‘Acunetix Web Vulnerability Scanner’, ‘Bot\ mailto:craftbot@yahoo.com’, ‘ChinaClaw’, ‘Custo’, ‘DISCo’, ‘Download\ Demon’, ‘eCatch’, ‘EirGrabber’, ‘EmailSiphon’, ‘EmailWolf’, ‘Express\ WebPictures’, ‘ExtractorPro’, ‘EyeNetIE’, ‘FlashGet’, ‘GetRight’, ‘GetWeb!’, ‘Go!Zilla’, ‘Go-Ahead-Got-It’, ‘GrabNet’, ‘Grafula’, ‘HMView’, ‘HTTrack’, ‘Image\ Stripper’, ‘Image\ Sucker’, ‘Indy\ Library’, ‘InterGET’, ‘Internet\ Ninja’, ‘JetCar’, ‘JOC\ Web\ Spider’, ‘larbin’, ‘LeechFTP’, ‘Mass\ Downloader’, ‘MIDown\ tool’, [...]

a2zVideoAPI WordPress Plugin

On July 2, 2010, in CURL, LAMP, Open Source, PHP, Tips, Tricks, by Sandeep Verma

Hits: 631  a2zVideoAPI WordPress Plugin: http://blog.svnlabs.com/a2zVideoAPI.zip http://wordpress.org/extend/plugins/a2zvideoapi/ Plugin Name: a2zVideoAPI widget Plugin URI: http://svnlabs.com/a2zvideoapi/ Description: a2zVideoAPI allows you to add a sidebar widget to show video from various sites including youtube, dailymotion, google, vimeo, metacafe, blip.tv, hulu, 5min, myspace, ehow, break, flickr etc. Author: Sandeep Verma Version: 0.7 Author URI: http://blog.svnlabs.com Other: Curl must be on [...]

RESTClient – Web Service Consumer

On June 12, 2010, in CURL, LAMP, Open Source, Tips, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 175  RESTClient is an application use to visit and test RESTful services. REST (Representational State Transfer) is the model of the Web to consume web resources. The browser makes a request to a URL and receives a response.  The request may be a GET or POST (or a PUT, DELETE, or HEAD) and the response [...]

a2zVideo API

On April 30, 2010, in CURL, Fedora, LAMP, Linux, Open Source, PEAR, PHP, Tips, Tricks, Web Services, by Sandeep Verma

Hits: 108   Welcome to the a2zVideoAPI wiki! This API supports video links to get video information like Embed Code, Video Thumb, Video Title, Video Description etc. Some supported video sites: http://www.metacafe.com/watch/4230785/ghetto_star_weekly_randy_radermacher/ http://www.5min.com/Video/How-to-Organize-Your-Life-219728873 http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=51722257 http://vodpod.com/watch/2492783-reactos-install-screencast-tutorial http://www.ehow.com/video_4983481_change-ip-address-windows-vista.html http://www.break.com/usercontent/2009/4/How-to-Run-Linux-on-Windows-Ubuntu-699185.html http://www.atom.com/funny_videos/sw_gangsta_rap_chronicles/ http://www.funnyordie.com/videos/4d47a07835/danny-mendlow-the-solution-to-racism-and-the-biggest-issue-in-the-world How to use a2zVideoAPI: 1. Download “api.php” from http://github.com/svnlabs/a2zVideoAPI 2. API require PHP with CURL extension.. Setup [...]

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...