Posts tagged ‘PHP’

  • October 24th

    22

    Easily display your last Tweet

    Excerpt: I wanted to show my latest tweet on the front page of this site, and although I know there are several plugins which probably could've helped me do this, I decided to see how easy the API was to use. It turned out to be incredibly easy, as long as you have PHP 5.2 or higher, that is. This is the c…

  • November 25th

    2

    Get the number of popular digg posts for a URL

    Excerpt: Sometimes, for instance when you're building a domain-info tool, you want to know the number of posts on that site that have made it to the Digg frontpage. After playing a bit, I came up with this pretty easy code: [code language="php"] function FrontpageDiggs($url) { $result['source'] = "http:…

  • April 17th

    21

    WordPress 301 redirect

    Excerpt: For all you developers out there building WordPress plugins or coding in the core of Wordpress, this is the "proper" way of doing a 301 redirect in WordPress: wp_redirect(get_permalink($url),301); Easy isn't it? Now go off and USE IT. I'm seeing way too much people who forget to add the ",…

  • April 8th

    15

    PHP-APC: Speed up your web applications!

    Excerpt: As regular readers of this blog might know I have written quite some tools using the different API's of search engines, and always found them quite useful. When I was implementing my sitewide search function, one of the things that bothered me that it was a bit slow. I knew that I had seen some cach…

  • April 6th

    1

    Implementing a sitewide search function

    Excerpt: Those of you coming to this site more often might have noticed a small change in the search box. It's now implemented sitewide, and I've built a sitewide search functions using the Yahoo! API. It was quite nescessary because I found that people were searching for "sortable.zip" on the blog, and they…

  • April 2nd

    0

    PHP 301 redirects for Apache and IIS

    Excerpt: This one is just here for my own reference, because the default 302 status code just isn't good enough! PHP 301 for Apache: header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.example.com/newpage/"); exit; PHP 301 for IIS: header("Status: 301 Moved Permanently"); head…

  • March 30th

    15

    PHPSESSID in your URL? Learn to 301 redirect them with PHP

    Excerpt: I'm doing some work on a site which has like 4,500 pages indexed with a PHPSESSID in the URL, causing some major duplicate content problems. I got the server admin to disable the PHPSESSID's by adding the following to the vhost config: php_value session.use_trans_sid 0 php_value session.use_only…

  • December 20th

    1

    Playing with the del.icio.us Web Badge JSON API using PHP

    Excerpt: Niall Kennedy wrote on his blog that The Yahoo Developer Network provided a short preview of the soon to be released del.icio.us webbadge. From this preview you could see an endpoint and a parameter, so Niall tried and it worked for everyone. That inspired me to make this fast PHP implementation of …

  • December 5th

    1

    Web 2.0 and API’s: the case for Unlimited queries

    Excerpt: Every self respecting search engine has one, loads of other sites have one, and lots of people are using them to make great new stuff: Application Programming Interfaces or API’s. There's a big 'but' on some of them though... Wikipedia describes an API as: 'An application programming interface …

  • December 4th

    2

    FeedBurner API fun

    Excerpt: I've had some fun with the FeedBurner API in the past days, creating a graphic simulation from a blog's feed-readers history over the past year. It's rather elegant, I think, as it creates graphics which you can easily insert into your pages or posts, and will automatically update each time they're …

  • November 2nd

    21

    W3C Validator API

    Excerpt: The W3C announced the release of an API for the HTML validator or rather, that's what they call it. In fact, it's nothing more than an output filter on their normal validator output, which gives SOAP 1.2 conforming output. It requires a HTTP request though, which makes it a rather funny "API" to dea…

  • October 31st

    4

    PHP5 and NUSOAP

    Excerpt: So last weekend I installed PHP5 on my server, to finally be able to do some new stuff, and this, it seemed, created some trouble with my SEO scripts that used NUSOAP. What is the problem? Well it's easy: PHP5 has a soapclient built in, and this causes trouble :). The solution is easy as well, r…

  • September 22nd

    0

    Getting Google's last visit date from the Google API

    Excerpt: When Vanessa Fox over at the Webmaster Central Blog said they would update the "retrieved on" date even when a page hadn't changed, it suddenly became very cool info. This means you can see when a URL was last spidered, even if you don't have a Sitemaps account for the domain. This triggered me to f…

Directory Journal
SEO Book Tools
SearchEngineWatch
Free Google Traffic
Pepperjam
Hosting by:
Hosted by MediaTemple Grid Services