SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Zealot funpage's Avatar
    Join Date
    Sep 2000
    Location
    NY
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible for me to offer content to put onto other peoples site with the following situation. I have purchased a script which rotates text on a daily basis on my site(http://www.dailyspark.com). I use ssi on my site, but can display the content from a single page, for example: http://dailyspark.com/cgi/daily/dose...okes.txt&jokes

    Is there a way I can use javascript or something to offer to put this content on other people's site?

    Thanks for any help,
    Tim

  2. #2
    SitePoint Addict
    Join Date
    Oct 2000
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think properly this may belong in the server-side scripting forum.

    However, one simple way is to put the material on a text or html page others can freely access and then call into a frame, iframe, Java applet, etc., on their own sites. That is, however, plainly somewhat limiting.

    Server-side, you can script this and have your clients call the script from their sites. But *caution caution caution* here, as this brings up issues concerning your server security.

    Another factor to consider is whether or not you want to foot the bandwidth on such inclusionary content. Any way you slice it, if it comes off your server, you're paying the traffic.





  3. #3
    SitePoint Zealot funpage's Avatar
    Join Date
    Sep 2000
    Location
    NY
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help, and sorry if this was posted in the wrong forum. I figured how to put it into iframes, but I don't believe iframes works in netscape. I have no idea how to make a java applet.

    With the bandwidth, I am currently using very little of what is given to me, and have quite a lot to spare(over 300mb a day).

    How does letting people call files on my page a security issue? Isn't it just like letting them use an image that is hosted on my site?

    Does anyone else have any other solutions?

    Tim

    [Edited by funpage on 11-20-2000 at 10:33 AM]

  4. #4
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well there are a few ways of doing what I think you are asking, but I am going to have to ask you to please try to explain what you are trying to do again.

    So far the best way I know to do this is via XML, and having a data interchange with all other sites that wish to display your content on there site.

    If you can explain what you are trying to do I will be able to help you more.


  5. #5
    SitePoint Zealot funpage's Avatar
    Join Date
    Sep 2000
    Location
    NY
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Currently I am offering free jokes to other webmasters through a popup window - http://dailyspark.com/link/index.htm. But I want for the content to be easily intergrated into their webpage. I don't know anything about xml, so I might just stick with the way things are right now.

    Thanks for your help,
    Tim

  6. #6
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi funpage,

    1) <iframe></iframe> is Microsoft's answer to Netscape's <ilayer></ilayer>

    2) Do you want the other site to include your page or just your jokes? If the former, it is a security issue because otherwise unscrupulous (sp?) people would go about swiping entire sites.

    3) If you just want to provide them with the jokes (and a credit mention):
    One alternative is to place your jokes in an array in a js file and give the other site access to the file. They could then pick myJoke[0], myJoke[3], etc and display it as they prefer.

    Vinny


    Where the World Once Stood
    the blades of grass
    cut me still

  7. #7
    SitePoint Zealot funpage's Avatar
    Join Date
    Sep 2000
    Location
    NY
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help, but with ilayers, when I put it inside of a table, everything gets messed up.

  8. #8
    SitePoint Addict
    Join Date
    Oct 2000
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using <ilayer> inside a table tends to give NS a case of terminal layout flatulence.

    In that you have positional control over the ilayer, however, you can usually design around it.

  9. #9
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I believe etLux is trying to say you should redesign your table so that the iframe/ilayers are outside of the tables. For example:

    <table>table above the iframe/ilayer</table>
    <table><tr><td>left side of page</td></tr></table>
    <script language='javascript'>
    <!--
    if (isIE)
    <iframe>blahblabblah</iframe>
    else
    <ilayer>blahbahblahbla</ilayer>
    //-->
    </script>
    <table>right side of page</table>
    <table> table below iframe/ilayer</table>


    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still

  10. #10
    SitePoint Addict
    Join Date
    Oct 2000
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Aw, Vinny... I was just being colorful.

  11. #11
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi etLux,

    I know Just make sure you don't light any matches near all that flatulence

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still

  12. #12
    SitePoint Addict
    Join Date
    Oct 2000
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For more on this discomfitting and often life-threatening health problem, see: http://howstuffworks.com/question46.htm


Bookmarks

Posting Permissions

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