 | News Feed |
Sections
Community Events
|
| feed this: |  |
Markus Wolff's Blog: Fulltext search as a webservice
posted Wednesday May 07, 2008 @ 12:57:47
voice your opinion now!
BY CHRIS CORNUTT
In a recent blog entry about a fulltext searching solution, Markus Wolff hacked together in a few hours with Zend_Search_Lucene:
While working at some really old code that provided a fulltext search feature, I was at one point incredibly pissed rather unsatisfied due to the fact that said code resisted all attempts to debug it. This lead to the decision to sit down on a rainy weekend to try if I couldn't come up with something more useful, and most importantly, scalable.
His method allowed for separation between the indexing and the main app and how he changes some of his methods when he learned that Solr did something very similar. He also lays out some example XML content and how it's handled in his script (via a SimpleXML object).
tagged with: fulltext search xml document zendsearchlucene zendframework solr
IBM developerWorks: Use the YouTube API with PHP
posted Wednesday April 16, 2008 @ 22:42:36
voice your opinion now!
BY CHRIS CORNUTT
In this new tutorial on the IBM developerWorks website, they show you how - with a little simple HTML and PHP - to integrate functionality from the YouTube API into your site.
The YouTube video sharing site allows Web application developers to access public content through its REST-based developer API. [...] This article introduces the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video metadata, comments and responses; and perform keyword searches.
They help you get started by outlining the format that the YouTube messages use (Atom feeds) and how to run a query against the API and return back the custom data for things like video categories, popularity and the results of keyword searches.
tagged with: youtube api tutorial category keyword search atom feed
DeveloperTutorials.com: PHP Site Search Made Easy
posted Monday March 31, 2008 @ 12:35:52
voice your opinion now!
BY CHRIS CORNUTT
On the Developer Tutorials site today, Akash Mehta has posted his look at having search functionality on your website.
Today's websites have a lot of content. [...] Needless to say, effectively searching all that data can be a real challenge, and chances are at the end of the day you'll still be stuck with a slow and ineffective search system. [...] Implementing effective search doesn't have to be hard. In this tutorial, I'll show you how to build a basic site-specific web search in just five lines of code, using the Yahoo! APIs.
He includes a (very) brief look at the search API Yahoo! offers followed by examples of queries and then on to the real deal, a search system that takes in a user query and asks the Yahoo! API for results matching it. The results are outputted below the box.
tagged with: search engine yahoo api simple tutorial
DevShed: Using Yahoo Web Services to Perform Searches with an Object-Oriented Approach
posted Tuesday February 12, 2008 @ 13:23:41
voice your opinion now!
BY CHRIS CORNUTT
To finish up their series looking at using the Yahoo! web service search functionality in a PHP5 application, DevShed has posted this look at integrating the search functionality into a preexisting application.
In simple terms, my plan will consist of creating some compact and modular PHP 5 classes, which will define a few basic methods for working with the different web services offered by Yahoo!.
They take the code they created from before (earlier parts of the series) and format it to fit into its own standalone class that can be included anywhere in an application. They create the class so it can search not only the normal results but it can also pull in the data from the video search Yahoo! offers as well.
tagged with: yahoo search video object oriented oop class integrate
Community News: Forage - A Search Abstraction Layer
posted Friday February 08, 2008 @ 11:16:00
voice your opinion now!
BY CHRIS CORNUTT
A different sort of abstraction layer project has been started up and has already seen a few releases - Forage. As mentioned on Rob Young's blog:
Recently I've been working on a search abstraction library for PHP called Forage. The idea is to bring to search what we've had for relational databases for quite a while, abstraction.
On Friday I put up a preview release with three backends; Solr, Xapian and Zend Search Lucene. At the moment it has the bare minimum of features but there will be more soon. In this post I'm going to talk a little about the motivation for the project and then walk through a short example.
He talks about the need for search abstraction (integration and resilience to change) before getting into an example of some code that grabs the data from an RSS feed, passes it in to the Xapian search engine and stores it before looking it over for thier search terms ("yahoo microsoft").
You can download the library if you'd like to try it out for yourself.
tagged with: search abstraction layer project xapian zendlucene solr
DevShed: Defining Some Custom PHP Functions with Yahoo Web Services
posted Tuesday February 05, 2008 @ 11:18:00
voice your opinion now!
BY CHRIS CORNUTT
DevShed continues their series looking at connecting a PHP5 script to the powerful Yahoo! search backend with part four of the series today. This part focuses on reworking some of the previous examples to make them more modular using custom defined functions.
Logically, these examples can be really useful for learning the basic concepts surrounding the use of these search services, but undoubtedly, it's necessary to modify and improve their source code to make it more compact and completely reusable.
They start the overhaul with the web search (complete with example results) then push on to the video and image searches and work them over the same way.
tagged with: webservice yahoo tutorial php5 search video image function
DevShed: Implementing Yahoo Image Search Web Service with PHP 5
posted Tuesday January 29, 2008 @ 13:05:08
voice your opinion now!
BY CHRIS CORNUTT
DevShed has posted the third part of their series looking at accessing the Yahoo! web services via PHP5 scripts. This time it's a focus on using the image search capabilities.
In this third chapter of the series, I'm going to continue exploring in detail other helpful web services offered by Yahoo!, such as those focusing on searching images and videos. Also, I will demonstrate how they can be queried directly from a basic PHP 5 application and process the corresponding search results by utilizing the same group of array handling functions that you saw in the previous article of the series.
Just like in previous articles of the series, they make a simple class that connect to the Yahoo! web services and request search details back about their queries (like "Madonna").
tagged with: php5 implement yahoo webservice image search
|