good way to use dynamic content in static page

Discussion in 'HTML & Website Design' started by nohypo, Apr 13, 2010.

  1. #1
    Just use javasript to write the dynamic content
    like
    <script src="...content.php"></script>
    then content.php is the dynamic content
    this really help me,share with you
     
    nohypo, Apr 13, 2010 IP
  2. coffear

    coffear Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #2
    This simply puts the content of content.php within the current document however if content.php is adding some good content onto the pahe you may find that you are not gaining in terms of SEO as the search engines will be unable to see that content that you are including.
     
    coffear, Apr 13, 2010 IP
  3. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Ok! Why you have to do it that way?
     
    alfa_375, Apr 13, 2010 IP
  4. McKay

    McKay Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I personally think the best way to put dynamic content on a static page is to use a programming language like ColdFusion + Content database.

    Have content in your DB, use CF to dynamically (and somewhat randomly) generate content, then push that content to your site/page via RSS, XML, etc.

    Sounds much more complicated than it really is. But this you full control of the content and the final page/site is truly static (Google, etc. have no idea the content was database-driven).

    Mike
     
    McKay, Apr 19, 2010 IP