Technology for Dynamic-Inbound Links? (Rep for *good* ideas)

Discussion in 'Programming' started by RogerDodgr, May 2, 2010.

  1. #1
    I have a website that reports breaking stories; these topics are very hot for about three days and then fade away. I am trying to get a collection of inbound links where I can change the inbound link's URL and keywords every day or two (when the lead story on my site changes).

    I have accomplished this with a php include statement on two other site's that I own with a php include statement (Note: some hosting accounts require a change to a php setting for an include statement from an external site).
    
    <?php 
       include 'http://myNewsSite.com/lead_Story.php'; 
    ?>
    
    PHP:
    This simply pulls an anchor tag onto my other sites. i.e., I change one file on main site and the other anchor tags change on the different web sites that I own.

    Problem:
    The obvious problem comes when I try to convince other people to include this on their site.
    1) They don't know me -- and therefore are understandably concerned about malicious code.
    2) I imagine they are also concerned about the speed of my server slowing down their site.

    Am I going about this in the wrong way? How can I change the keywords on other people's sites? Is there a way that a person could allow me to only change 30 characters or so (URL and Text) and nothing else? Again, I can't expect people I just met to allow me to augment/inject into their pages unless it is in a very controlled way. Is there a simple script other site owners can set up to accomplish this? Perhaps something that disallows JavaScript and limits the number of characters?

    Any ideas, solutions, etc. appreciated via rep or more.
     
    Last edited: May 2, 2010
    RogerDodgr, May 2, 2010 IP