Javascript Content

11 views
Skip to first unread message

jacksghost

unread,
Apr 6, 2009, 4:53:41 PM4/6/09
to Webmasters Helping Webmasters
Hello all,

Has there been any news or updates regarding Google indexing
javascript content? I have a newly launched web site that needed
updated content to get started so I added the Pluck.com widget, which
displays articles and content using javascript.

I wanted the fresh automated content to help improve the search engine
rankings. However, if Google still does not read javascript, I may
remove it.

The site is developed using Active Server Pages. Assuming it still
does not read javascript, are there any content providers that use
server based scripts that would be indexed by Google?

Thanks,
JG

Vision Jinx (Guru)

unread,
Apr 6, 2009, 6:47:18 PM4/6/09
to Webmasters Helping Webmasters
Hello,

I have not heard of this specifically, but I do know some of the
Google Developers on that team I can probably try to probe for some
information on it.

Just as a side note though, If your trying to display feed content and
such I would suggest using the Google AJAX and Feed API specifically
the RESTful aspects of the API (and use PHP CURL for example) to fetch
and display the remote content in a SEO friendly way. (generate HTML
over javascript results using/parsing the raw JSON data)

Cheers!
Vision Jinx

paulypal

unread,
Apr 8, 2009, 12:22:32 AM4/8/09
to Webmasters Helping Webmasters
I tried the Google AJAX and Feed API and I was able to get the feed
links to display on my web site fine, but the links point to other web
sites. Is there any way to have the actual feed content displayed on
our web site?

Thanks,
Paul

Vision Jinx (Guru)

unread,
Apr 8, 2009, 1:18:32 AM4/8/09
to Webmasters Helping Webmasters
Hi Paul,

I don't think I am understanding your question correctly.

Re: "...the links point to other web sites"

If your loading someone elses feed then yes they control where the
links point to and it is against Googles TOS to modify the links and
would most likely be against the feed owners copyrights to take their
content for your own.

I also don't know if this is really related to the original posters
question ("news or updates regarding Google indexing javascript
content?") so please start your own thread so you can get better
assistance for your question but if it does involve violation of
someones copyrights then this is not the group to ask such a question
in.

I am just hoping I have mis-read your question (and I apologize) so if
I have please start a new thread and add some additional clarification
to your question and maybe a link to the app in question and I will do
my best to try to assist you as long as it is legal. But in a
nutshell, you should be able to have syndicated feed content display
on your site as long as you don't try to modify the content or links
its self. (Re: "Is there any way to have the actual feed content
displayed on our web site?")

Best regards,
Vision Jinx

paulypal

unread,
Apr 8, 2009, 6:52:32 PM4/8/09
to Webmasters Helping Webmasters
I am not trying to illegally take content from someone else and
publish it on our web site. In my first post, I mentioned the
Pluck.com service. With Pluck.com, we can display news article
headline links on our home page. In addition, when the user clicks on
the headline link, Pluck.com actually displays the full article on a
dedicated page in our web site. Therefore, we keep users on our web
site instead of sending them away. As I mentioned, though, Pluck.com
uses Javascript so the content is not indexed by Google.

I was trying to ask if there is a way to accomplish the same thing
with the Google Ajax and Feed API. I was able to get the Google code
to display headline links on our home page, but the links point to
external sites. Is there a function within the API that would allow
us to display the content on a page within our web site. I apologize
if I did not word this well before.

Thanks,
Paul

Vision Jinx (Guru)

unread,
Apr 9, 2009, 5:02:25 AM4/9/09
to Webmasters Helping Webmasters
Hi Paul,

Thanks for the clarification and update and sorry for the confusion, I
didn't know if you were the original poster or not.

What your asking sounds very possible, but just to make sure we are on
the same page have a quick look at this gadget I made using the
Gadgets API as it sounds quite similar to what your asking about.
(Click the entry titles to toggle/display the entry content)

http://www.gmodules.com/ig/creator?synd=open&url=http%3A//www.visionjinx.net/gg/ultrareader/ultrareader_v1.xml&up_tb1=http://googleajaxsearchapi.blogspot.com/rss.xml

This would be quite easy to do with the Google AJAX Feed API and I
know it should not be too hard to do with pure javascript (use JSONP -
JSON with Padding techniques) or with PHP using CURL and a JSON
parser, but I don't know ASP at all so I don't know what the
equivalent would be for that platform (I use LAMP configurations
mostly). If your looking for just a javascript based solution not a
problem, I can help ya there if needed.

In either case to help better build a more lightweight app I would
recommend using the RESTful aspects of the API to do what you want as
it will eliminate the need for extra 3rd party code dependence and
having to edit sections of the code to create your desired effect.

If your looking for SEO optimization then I would suggest using the
ASP equivalent to PHPs CURL to fetch the raw JSON data from Google
then parse it using a JSON parser, in newer version of PHP this is
included for older ones I use the Services_JSON library (for others
reading this thread).

Once you fetch the JSON string from Google you can use your server
side script to generate the HTML results from the data then the rest
would be just attaching an onclick event to the titles of each result
to toggle the display of the entry.

I had a quick look at the json.org site and at the bottom it looks
like they have asp apps for parsing JSON so you should be able to
accomplish this with your current set up.

Some links to check out would be

http://code.google.com/apis/ajaxfeeds/documentation/#fonje

- Use this to see how to make a GET request for Googles feed data in
JSON format and it's data structure.

http://www.json.org/

Look for...
ASP:
* JSON for ASP.
* JSON ASP utility class.

For a JSON parser if you don't already have one.

See if that helps

Regards,
Vision Jinx
Reply all
Reply to author
Forward
0 new messages