This is a discussion on "SE Friendly Dynamic Content" within the JavaScript Forum section. This forum, and the thread "SE Friendly Dynamic Content are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
SE Friendly Dynamic Content
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
SE Friendly Dynamic Content
Hi
I have been testing out this script http://www.dynamicdrive.com/dynamici...ajaxrotate.htm for a site I am developing. I dont know much about programming, but got it to work for my site. The thing is the content from the external file that it loads does not get displayed within the source code, so search engines will not be able to see this. Is there a work around for this, or can someone point me in the right direction to what I am trying to achieve thanks |
|
|
|
||||
|
Re: SE Friendly Dynamic Content
Use a server-side language to achieve the same effect.
How you do it will depend on the language you can use: ASP (VBScript), ASP (JScript), PHP, CFM, etc...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: SE Friendly Dynamic Content
Thanks for the reply, I would like to use .php, but like I said I dont really know to much about it, can you supply me with any info or links?
thanks |
|
||||
|
Re: SE Friendly Dynamic Content
I don't program in php either, I really don't know much...
but here's a start: http://www.w3schools.com/php/default.asp
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: SE Friendly Dynamic Content
The process of using the script seems pretty straight forward. Have you followed the instructions to the letter? Particularly the bit about the location of the files to be included. Can you supply some basic tech specs for your client-sever set-up? |
|
|||
|
Re: SE Friendly Dynamic Content
Hi
Like I said I have got it to work, but was wondering is there alternative ways of what I am trying to achieve that will make the dynamic content visible to Search Engines, if you look a the example I gave and view the source code you will not see the text for the dynamic bit. Any ideas guys? |
|
|||
|
Re: SE Friendly Dynamic Content
all I know is that it can host php, if you need anymore info please let me know
|
|
|||
|
Re: SE Friendly Dynamic Content
You could write your dynamic text into a number of files with an extension of say .inc or you could store the text as records in a database. Use php's rand() function to pick a file or database record and then include that text in the appropriate place in your page code. |
|
|||
|
Re: SE Friendly Dynamic Content
Thanks for the reply, I will need the blocks of text to change daily, I am a newbie to PHP so any help in the right direction would be so helpful!
|
|
|||
|
Re: SE Friendly Dynamic Content
How many blocks of text are there going to be? Where does this text originate from? Is the nature of the text such that it has a 'shelf-life'? Do you want the text to be chosen on a daily basis, ie., that day's text? Answering questions like these is going to influence how you go about things. |
|
|||
|
Re: SE Friendly Dynamic Content
okay, thanks ukgeoff, this is what I need http://www.designholidays.co.uk/page...frica/preview/ the 3 horiz rows opposite feature highlight need to rotate on a daily basis.
There is no shelf life The text will be getting pulled from the site itself that I supply, so no need for external docs. Does that help? |
|
|||
|
Re: SE Friendly Dynamic Content
A few observations first: You need to look at your layout as the three rows to which you refer do not resolve properly in Firefox and Opera so I'm guessing other browsers (not IE) will have a similar problem. You have two empty <label> tags. I would be inclined to set up a database that held the short text, either a link to the thumbnail or the thumbnail itself and a link to the full page. You then have a div that is going to contain your three pieces and within that, you place a call to a php function which will generate the content. That function will need to:
|
|
|||
|
Re: SE Friendly Dynamic Content
Hi ukgeoff, yeah I knwo about the layout probs in FF, I will fix that.
What you have suggested sounds like what I need, but at the same time what you have mentioned is way over my level of understanding, any example you could offer would really help me to learn. thanks again |
|
||||
|
Re: SE Friendly Dynamic Content
When I first started learning PHP, I turned to http://phpfreaks.com/
They've got a number of tutorials and an extremely active forum. |
![]() |
| Tags |
| friendly, dynamic, content |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating Dynamic Content | deoxymonohydroxinate | Starting Out | 1 | Feb 16th, 2008 18:23 |
| Problems making the content area have a dynamic height | blizeH | Web Page Design | 41 | Aug 13th, 2007 01:19 |
| Floating Dynamic Content | Xyis | Web Page Design | 2 | Jul 19th, 2007 13:27 |
| Dynamic flv player with auto resize based on content | waterox | Flash & Multimedia Forum | 1 | Jun 28th, 2007 14:25 |
| How to make an element display above a dynamic content? | wood_flower | Web Page Design | 4 | Aug 3rd, 2005 03:42 |