+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 16 to 21 of 21
  1. #16
    Join Date
    Sep 2002
    Location
    Wales (UK)
    Posts
    24,746
    Can you suggest a good way or the best way to automatically update the html page every day so the SE's look at the site as freshly updated?
    I did above - use something like php to read in the content (from another site/database etc) and include that content as static html within the page.
    When using google for counts - use double quotes for usage counts for multiword terms and set "match type" to "exact" for all search volume lookups. Click here for more info

  2. #17
    Join Date
    Sep 2002
    Location
    Sonoran Desert
    Posts
    2,681
    Originally posted by safesys
    I did above - use something like php to read in the content (from another site/database etc) and include that content as static html within the page.
    But I fail to understand the mechanics and the specific steps involved to do it. Do you have an example on how to go about it? I must admint to being confused and lacking knowledge in that regard and know little about php which is not used on most of my websites. The sites that use php or mysql I did not program myself.

  3. #18
    Join Date
    Sep 2002
    Location
    Wales (UK)
    Posts
    24,746
    There are many ways to do this type of content injection in php. You could do it using an include if the source data is just text/html eg:

    http://uk.php.net/include/

    so you'd just have you're normal html markup and include php where you want the text in it eg:

    <? include("http://domain.tld/data.txt"); ?>

    for more control over the input you could use the file handling eg:

    http://uk.php.net/manual/en/function.fread.php

    which could look something like this:

    <?
    $filename = "http://www.domain.tld/data.txt";
    $handle = fopen($filename, "r");
    $contents = fread($handle, filesize($filename));
    fclose($handle);
    print $contents;
    ?>
    When using google for counts - use double quotes for usage counts for multiword terms and set "match type" to "exact" for all search volume lookups. Click here for more info

  4. #19
    Join Date
    Sep 2002
    Location
    Sonoran Desert
    Posts
    2,681
    Thanks safesys. Much appreciated I will look at implementation over the weekend.

    Originally posted by safesys There are many ways to do this type of content injection in php. You could do it using an include if the source data is just text/html eg:

    http://uk.php.net/include/

    so you'd just have you're normal html markup and include php where you want the text in it eg:

    <? include("http://domain.tld/data.txt"); ?>

    for more control over the input you could use the file handling eg:

    http://uk.php.net/manual/en/function.fread.php

    which could look something like this:

    <?
    $filename = "http://www.domain.tld/data.txt";
    $handle = fopen($filename, "r");
    $contents = fread($handle, filesize($filename));
    fclose($handle);
    print $contents;
    ?>

  5. #20
    Join Date
    Mar 2004
    Posts
    2,122
    the include feature is pretty cool. you can do that for an ad network as well if you are testing new publishers you can easily change them as needed.

  6. #21
    Join Date
    Sep 2002
    Location
    Gold Coast, Qld, Australia
    Posts
    6,986
    Originally posted by ILikeInfo
    Sort of.

    For example you have a user list, which is contantly changing with time. For some reason you wish to display that customer list on a page == "embed" it just like you would a Google advertising banner.

    Same concept as Google adsense *BUT* now it's your own realtime data.

    in this case I want the beneift of Google adsense "simplicity of implementation" for my own database tables and web pages - But NOT for advertising (at this time at least).
    I was just having a bit of fun Charles, I didn't understand one word you said in your OP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  

Sponsors

   
 
DomainState.com
Advertise   |   Contact Us   |   Domain Glossary   |   Domain Links   |   Domain Tools   |   FAQ   |   Members   |   Terms   |   RSS   |   Link To Us
Other Related Trellian Services:
Above Domain Parking Manager   |   Free Search Toolbar   |   Free Webpage Builder   |   Keyword Research   |   Search Engine Submission   |   SEO Tools
Copyright © 2002    DomainState.com a Trellian Company