Dark Knight Posted December 29, 2006 Share Posted December 29, 2006 Can you show me a code for searching for something in a site? thanks. Link to comment Share on other sites More sharing options...
Webworldx Posted December 29, 2006 Share Posted December 29, 2006 What exactly are you wanting to search? Just for a word/phrase on the page that you're on, or a full site search? Link to comment Share on other sites More sharing options...
PrateekSaxena Posted December 30, 2006 Share Posted December 30, 2006 Let us say that if it is a blog. then what you can do is that you can get the RSS feed of the blog by the xmlHttpRequest. then thru Js only you can search the XMl file for whatever search term you are working with then if there arer any positive results then just tell the guythe url of the post in which you found that word. Link to comment Share on other sites More sharing options...
Dark Knight Posted December 30, 2006 Author Share Posted December 30, 2006 I would like a search for a word in the full site. Link to comment Share on other sites More sharing options...
PrateekSaxena Posted December 30, 2006 Share Posted December 30, 2006 then use PHP to open every single page search or tht word and display the url ...the other idea was just to AJAXify the whole process. Link to comment Share on other sites More sharing options...
Dark Knight Posted December 30, 2006 Author Share Posted December 30, 2006 Ok, thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now