Hey, At the moment I'm looking for a search engine that allows you to search within the HTML code and javascript of websites. Google only allowes you to search for text on a website, not the source code. Any idea where to find a search engine to search within the code?
I don't think this searches html but you might find it interesting: http://www.google.com/codesearch?hl=en ED
An Opera project, MAMA, which is a "Metadata Analysis and Mining Application". This is a crawler that parses Html.
Heres's a tool I threw together, It doesn't search html code, but makes it easier to view code from a list of sites and you can generate the list of sites based on a keyword. I suggest you use firefox and click on the FF links for a better view of the source. IE users need to use the "view source code" link. If you need to find a specific word in the code use the highlight function on the Google toolbar. One possible use would be to quickly snoop thru META keywords on competitors sites. And here's a little trick, if you do a query like this: fishing feature:index it will generate a list of just just homepages (index) for the keyword fishing. Source Code Snooper ED
@schmidte - Why? We can use the Web Developer bar for Firefox to do all of that and more. @serchia - The question was about 'Html source code' searches, not coding examples. One use for this type of search, theoretically, would be to sniff out sites that use 'nofollow' in the rel attributes of their comment links (or those that don't). There are no known SEs that can actually do that and publish those results, not to my knowledge.
Why? I was board!!! I'm not familiar with the "Web Developer bar for Firefox". Does it allow you to easily view the source code for the first 100+ results at Yahoo without actually visiting the websites?
If you are bored and want to view the source code of 100 results from Yahoo, be my guest. For view source with the WD extension, they have a couple of things. You can view source of the whole page, or just a selection of what you highlighted. Informational page displays include viewing in a seperate tab all CSS stylings , a list of all links on the page, meta tag information, list all javascript. Web Developer Extension Download from authors homesite or download from Mozilla. Here is detailed article on the Web Developer extension for Firefox.
I put together a small "Source Code Search Engine (beta)" with 700 pages indexed. Let me know if it's helpful, if so I can add more pages later. It searches text only, will not search <>. Source Code Search Engine (beta) ED
Hello Guys, I don't think you get the point here, I think Tijmen meant that he needs a search engine to search within live web pages' source code an retrieve the results as links of these web pages which include the keyword. We needs this for instance to search for blogs which include (rel="follow") in their comment pages' source code, so that we use them for link building and avoid commenting on the blogs which include (rel="nofollow") in the source code of their comment pages. I hope I made the point clear, now the 1 Million $ question is, has anybody happen to find some search engine like that? I have ran into some Custom Google search engines that claim searching for Do Follow Blogs and Forums, however the results were always disappointing.
You mean you want to see the course code for s pecific page? You can still view the code of the page if you press ctrl key + U key if you are using firefox. Hope this solve your question.
Globalogiq offers an HTML source code search service, and you can search within HTTP headers as well. It works pretty well for finding sitewide javascripts. Does anyone know if theres any other company that offers a similar service?
https://publicwww.com/ indexed 165 million websites and allows to search in source code (HTML, JS, etc...)