XPath Tester

On March 22, 2012, in CURL, LAMP, Learning, Open Source, PHP, Web Application, Web Scraping, by Sandeep Verma

Hits: 514  XPath, the XML Path Language, is a query language for selecting nodes from an XML/HTML document. Most Scrapping Tools use XPath to grab data from websites, XPath is very useful to scrape web resources like RSS, XML, HTML, CSS etc. Scriptrr * Web Data Extraction * Screen Scrapping * Web Data Mining * Web [...]

Tagged with:  

Batch Downloading in PHP

On March 14, 2012, in LAMP, Learning, Linux, Open Source, PHP, Tips, Web Application, by Sandeep Verma

Hits: 418  <?php for($d=1;$d<=100;$d++) { $link=”http://www.domain.com/demos/”.$d.”/source.zip”; if(http_url_exists($link)) {   echo”Processing: “.$link.”<br>”;      exec(“wget -O “.dirname(__FILE__).”/download/source-”.$d.”.zip “.$link.” 2>&1″,$pp);      echoimplode(“”,$pp);echo”<br><br>”; } } //$file_headers = @get_headers($file); //’HTTP/1.1 404 Not Found’   function url_exists($url){     if(!$fp=curl_init($url))returnfalse;     returntrue; } function http_url_exists($url){          $file_headers=@get_headers($url);          if($file_headers[0]==’HTTP/1.1 404 Not Found’)         returnfalse;          returntrue; } ?>

Image Matrix Using ImageMagick

On March 7, 2012, in Imagine, Learning, Linux, PHP, Tricks, Web Application, by Sandeep Verma

Hits: 497  ImageMagick create, edit, compose, or convert bitmap images. It can read and write images in different formats including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Image Operations * Resize * Flip * Mirror * Rotate * Distort * Shear * Transform * Adjust image colors * Special Effects * [...]

Valentine’s Day express love with your website

On February 13, 2012, in Imagine, Javascript, Launch, PHP, Web Application, Wordpress, by Sandeep Verma

Hits: 700  Express love with your website on Saint Valentine’s Day. Fan Page on Facebook WordPress Plugin Add to Your Fan Page Tab  Work hard, but make time for your love, and family. Nobody remembers PowerPoint presentations on ur dying day….

Audio.js with Volume Control

On February 12, 2012, in HTML5, Learning, Open Source, PHP, Web Application, Web Streaming, by Sandeep Verma

Hits: 893  I was working on HTML5 MP3 Player Project using audio.js and I got Audio.js with Volume Control to control the volume for the Flash alternative player? <script> audiojs.events.ready(function() { var as = audiojs.createAll(), audio = as[0], ids = ['vol-0', 'vol-10', 'vol-40', 'vol-70', 'vol-100']; for (var i = 0, ii = ids.length; i < ii; [...]

Frames Website Template

On February 5, 2012, in LAMP, Learning, Open Source, PHP, Web Application, by Sandeep Verma

Hits: 701  The frameset element holds frame elements that can display a separate document. The <frameset> element specifies columns or rows in the frameset with percentage/pixels width. If the browser can’t display frames or is configured not to, it will render the contents of the NOFRAMES element. <framesetrows=”60, *, 25″> <framesrc=”head.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”no”> <framesetcols=”225,*,100″> <framesrc=”left.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”yes”> <framesrc=”content.html”marginheight=”0″marginwidth=”0″frameborder=”0″name=”content”scrolling=”auto”id=”content”> <framesrc=”right.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”yes”> </frameset> [...]

Advanced Stream Redirector

On February 3, 2012, in Learning, Open Source, PHP, Web Security, Web Services, Web Streaming, by Sandeep Verma

Hits: 607  The Advanced Stream Redirector (ASX) format is used to store playlist of Windows Media files for a multimedia presentation using HTTP, RTSP and MMS streaming protocols. ASF (Advanced Streaming Format) is a streaming media format developed by Microsoft. ASF files contain video, audio, slide shows and synchronized events for WMV files. * The ASF [...]

Video Overlay Ads

On January 29, 2012, in Javascript, LAMP, Learning, Open Source, PHP, Tips, Web Application, Web Security, by Sandeep Verma

Hits: 475  We can use overlay code to map video/image using DIV elements on main element. Concentrate Observe Imagine Launch Demo: http://demo.svnlabs.com/video-overlay/ Maturity is not when we start speaking BIG things But..Actually it is, When we start understanding small things.

Remote Secure Token

On January 28, 2012, in Imagine, Javascript, Learning, Observe, Open Source, PHP, Tricks, Web Application, Web Security, by Sandeep Verma

Hits: 635  Remote Secure Token Wowza Token We already compiled FlowPlayer & JWPlayer for remote secure token in flex / flash files http://blog.svnlabs.com/compile-or-build-flowplayer-or-jwplayer-to-create-secure-token-for-wowza-server/ http://blog.svnlabs.com/wowza-mediasecurity-addon-package/ http://blog.svnlabs.com/how-to-prevent-downloading-and-leeching-media-files/ (hotlink protection) Local Media Files We already protected local files using .htaccess file media hiding logic http://blog.svnlabs.com/secure-token-plugin-with-php/ http://blog.svnlabs.com/how-to-prevent-downloading-and-leeching-media-files/ (hotlink protection) External Media Files File can be protected both on server side [...]

Content with Spinners for SEO

On January 25, 2012, in Facebook, Imagine, Learning, Open Source, PHP, Tips, Web Application, by Sandeep Verma

Hits: 446  Article / Content Spinning is a search engine optimization technique to provide unique relevant content on sites / blogs. Spinning is a process for rewriting existing articles. If the original articles are plagiarized and used without the permission of copyright owner, Spinning produce multiple versions of original writing to protect contents being copied to [...]

Installing Wygwam on ExpressionEngine 2.x

On January 22, 2012, in Learning, Open Source, PHP, Tricks, Web Application, by Sandeep Verma

Hits: 648  Wygwam is powered by CKEditor. It’s fast, accessible, and produces clean, semantic markup. You need ExpressionEngine 2.x with PHP5 to install Wygwam on web server Find a latest & stable version here.. http://pixelandtonic.com/wygwam/releasenotes Instructions 1. Upload the ee2/third_party/wygwam folder to system/expressionengine/third_party/ 2. Upload the themes/third_party/wygwam folder to themes/third_party/ 3. Install the fieldtype in Add-Ons [...]

Tagged with:  

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...