search-engine

making JavaScript generated content possible for search engines to index

旧巷老猫 提交于 2020-01-13 09:37:51
问题 Is there any way to make JavaScript generated content indexable by search engines? I remember reading something about Google parsing a generated site map, but I might be wrong here. _L 回答1: I also remember reading something similar when searching for a history plugin for jQuery. You might check out: http://googlewebmastercentral.blogspot.com/2007/11/spiders-view-of-web-20.html The explanation of hash links and actual href links sounds about right. 回答2: Mostly the search engine spiders do not

Do search engines respect the HTTP header field “Content-Location”?

亡梦爱人 提交于 2020-01-12 04:32:10
问题 I was wondering whether search engines respect the HTTP header field Content-Location. This could be useful, for example, when you want to remove the session ID argument out of the URL: GET /foo/bar?sid=0123456789 HTTP/1.1 Host: example.com … HTTP/1.1 200 OK Content-Location: http://example.com/foo/bar … Clarification: I don’t want to redirect the request, as removing the session ID would lead to a completely different request and thus probably also a different response. I just want to state

How to Have Search Engines Index Database-Driven Content?

感情迁移 提交于 2020-01-10 11:44:30
问题 How can I make it so that content from a database is available to search engines, like google, for indexing? Example: Table in mysql has a field named 'Headline' which equals 'BMW M3 2005'. My site name is 'MySite' User enters 'BMW M3 2005 MySite' in google and the record will show up with results? 回答1: Google indexes web pages, so you will need to have a page for each of your records, this doesn't mean to say you need to create 1,000 HTML pages, but following my advice above will dynamically

How to 301 redirect in ASP.NET 4.0?

ⅰ亾dé卋堺 提交于 2020-01-10 01:23:06
问题 I am trying to implement URL redirect for the website rather than doing it page by page. I want to do it in the global.asax file. Below is the code i have defined. I want to have http://website.net as my main url & want to have a permanent URL redirect if someone types in http://www.website.net. Unfortunately it is not working for the live website. Can anyone point out the problem in the code. The code doesn't generate any error. void Application_Start(object sender, EventArgs e) { // Code

What are some Search Servers out there? [closed]

混江龙づ霸主 提交于 2020-01-09 12:52:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm looking to find alternatives to Solr from the Apache Software Foundation. For those that don't know, Solr is an enterprise search server. A client application uses a web-services like interface to submit documents for indexing and also to perform search queries. Solr has other features built in like caching

Google Custom Search API - Search Results

拥有回忆 提交于 2020-01-06 20:01:22
问题 I have somewhat lost touch with custom search engines ever since Google switched from its more legacy search engine api in favor of the google custom search api. I'm hoping someone might be able to tell me whether a (pretty simple) goal can be accomplished with the new framework, and potentially any starting help would be great. Specifically, I am looking to write a program which will read in text from a text file, then use five words from said document in a google search - the point being to

Google Custom Search API - Search Results

最后都变了- 提交于 2020-01-06 20:00:56
问题 I have somewhat lost touch with custom search engines ever since Google switched from its more legacy search engine api in favor of the google custom search api. I'm hoping someone might be able to tell me whether a (pretty simple) goal can be accomplished with the new framework, and potentially any starting help would be great. Specifically, I am looking to write a program which will read in text from a text file, then use five words from said document in a google search - the point being to

Stop part of page being index by search engines?

我只是一个虾纸丫 提交于 2020-01-06 19:59:13
问题 How can I stop search engines indexing part of my page? Is there an HTML5 element for this? Its just a line of text that I want to hide (a co-worker doesnt want their name on google for some reason). Im thinking that I could inject the text with javascript, but I have heard google does sometimes look inside javascript files. I also thought of using images instead of text, but im concerned how this will look cross device and platform. Ive noted text rendering can differ on mac and pc and thats

Exception in thread “main” org.elasticsearch.client.transport.NoNodeAvailableException: No node available

拈花ヽ惹草 提交于 2020-01-06 14:41:33
问题 I am trying index using below Java code in elastic search.. I gave my machine Ip in the code .It is unable to connect to node. It is giving error like below : Exception in thread "main" org.elasticsearch.client.transport.NoNodeAvailableException: No node available at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:219) at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106) at org

Reading Google search results using PHP?

孤街醉人 提交于 2020-01-06 07:08:41
问题 Is der any method to read the Google search result and display it own style . I want to read the contents of Google search results after users search for query will display only the .PDF files for the search queries is it possible to do with PHP ? 回答1: Yes, by using Google's public search API. 回答2: Like Bart mentioned you can and should use the API so as be on the up and up with Google. But that being said if you want to really have a hack you can just make a curl request from php to do the