| Important Announcement: ***Need an Affordable SEO Website Review?*** |
![]() ![]() |
Jun 29 2009, 07:27 AM
Post
#1
|
|
|
HR 3 ![]() ![]() ![]() Group: Active Members Posts: 64 Joined: 13-June 04 User's local time: Feb 9 2010, 06:07 PM Member No.: 3,918 |
What is the current best search engine friendly way(s) to give viewers the option to view additonal text on a page?
I have a client that has setup some descriptions on pages like this: Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis te feugifacilisi. Duis autem dolor in hendrerit Read full story... When the reader clicks on “Read full story...” the rest of the story is written on the page. They are currently doing this with a JavaScript onclick call. Checking the Google text cache I can see that this text is not getting indexed. Does anyone have some details on the best search engine friendly methods for this? I’m assuming the best method would be using CSS. In this case the method they are using is “inline” so that all the content on the page below moves down as the new text is written. Any method I suggest that is search engine friendly should also be “inline” PS – Is there a name for this type of method used by developers, ie. giving site readers the option to view additional details on a page? Thanks |
|
|
|
Jun 29 2009, 07:36 AM
Post
#2
|
|
![]() Convert Me! Group: Admin Posts: 17,380 Joined: 17-August 03 User's local time: Feb 9 2010, 02:37 PM Member No.: 551 |
Is the content actually being added to the page via javascript when the Read More link is clicked?
Most have the content already there in the raw html code, but have parts of it set to be hidden when the page loads using a bit of css and a javascript trigger. The Read More link then would simply make the hidden bit visible, again via css. Javascript is still used to hide/unhide the extra content, so to users it looks the same. But with the words already in the raw html the search engines should pick it up. |
|
|
|
Jun 29 2009, 09:08 AM
Post
#3
|
|
|
HR 3 ![]() ![]() ![]() Group: Active Members Posts: 64 Joined: 13-June 04 User's local time: Feb 9 2010, 06:07 PM Member No.: 3,918 |
Is the content actually being added to the page via javascript when the Read More link is clicked? Most have the content already there in the raw html code, but have parts of it set to be hidden when the page loads using a bit of css and a javascript trigger. The Read More link then would simply make the hidden bit visible, again via css. Javascript is still used to hide/unhide the extra content, so to users it looks the same. But with the words already in the raw html the search engines should pick it up. Hi Randy, Been a while Well this is most interesting. The text is in the code, but when I look at Google’s Text Only cache it’s not there. The “Read Full Story” link is there. However when I click on the “Read Full Story” link nothing appears since its JavaScript call But I did a Google search for some unique text from the section of text. This page was returned in the results with part of the snippet I searched on in the listing description So it is getting indexed. Thanks! |
|
|
|
Jun 29 2009, 10:12 AM
Post
#4
|
|
![]() HR 5 ![]() ![]() ![]() ![]() ![]() Group: Active Members Posts: 463 Joined: 22-March 04 User's local time: Feb 9 2010, 09:37 PM From: Costa Blanca, Spain Member No.: 2,974 |
I have been experimenting with this... geoinct.
Its not finished but I like the ability to get more info on the page, leaving the visitor to select what they want. The code is SE friendly also! |
|
|
|
Jun 29 2009, 11:04 AM
Post
#5
|
|
![]() Convert Me! Group: Admin Posts: 17,380 Joined: 17-August 03 User's local time: Feb 9 2010, 02:37 PM Member No.: 551 |
Yanno, I'd probably have to see the code to see if anything jumps out at me. Historically if the text is in the raw html code but simply being hidden by javascript it shows up in the text cache.
That said, and this is a complete guess on my part, this is one of those places I would first expect to see something different start showing up as Google migrates to using Javascript enabled spiders. Once those are out there I would sort of start expecting to see such js hidden text to start disappearing from the cache. Though technically if it's not in the text cache I would hope they would also remove that from the index altogether. Though I can think of reasons why it wouldn't. Especially since it's probable that they're still spidering with both the old style, non-js spider and the newer style js-enabled spider. |
|
|
|
Jun 30 2009, 05:25 AM
Post
#6
|
|
|
HR 3 ![]() ![]() ![]() Group: Active Members Posts: 64 Joined: 13-June 04 User's local time: Feb 9 2010, 06:07 PM Member No.: 3,918 |
I have been experimenting with this... geoinct. Its not finished but I like the ability to get more info on the page, leaving the visitor to select what they want. The code is SE friendly also! Thanks madams. I'll check it out |
|
|
|
Jun 30 2009, 05:31 AM
Post
#7
|
|
![]() HR 5 ![]() ![]() ![]() ![]() ![]() Group: Active Members Posts: 463 Joined: 22-March 04 User's local time: Feb 9 2010, 09:37 PM From: Costa Blanca, Spain Member No.: 2,974 |
The code can be found here... geoinct (IMG:style_emoticons/default/cool.gif)
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 9th February 2010 - 03:37 PM |