Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Leeching info

  1. #1
    Regular Coder jfreak53's Avatar
    Join Date
    May 2004
    Location
    Guatemala
    Posts
    477
    Thanks
    19
    Thanked 10 Times in 10 Posts

    Question Leeching info

    I need a way to import plain text from a text file using Javascript or another easy way, so as not to blog down my site with ASP or other things, so I can import just one line of text from a TXT file to a place in my html file, so I can daily update something with having to do the whole file and multiple files.

    Here's the site, I know they have to be grabbing this from some where else too because the images are in english:

    http://portal.anacafe.org/Portal/Des...aspx?StockID=1

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,106
    Thanks
    11
    Thanked 101 Times in 99 Posts
    I am not sure what you are asking , you want to use javascript ? wrong forum , you want to grab a page with PHP ? right forum

    I think you will find if your page already has any server-parsed content it will be quicker to use a PHP include than a client side javascript to inlclude any content.

    can you be more specific with your requirements ?
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is a continuation of this thread:
    http://www.codingforums.com/showthread.php?t=39325

    That should be enough background information..

    Sadiq.

  • #4
    Regular Coder jfreak53's Avatar
    Join Date
    May 2004
    Location
    Guatemala
    Posts
    477
    Thanks
    19
    Thanked 10 Times in 10 Posts
    Sorry about that, I just copied my original post from the last one and pasted it here, I forgot that I had the javascript word in it, all I want to do is to take some information from the site I have pasted up above and display it on my site, kind of like grabbing it and reformating it for my site then displaying it on my site, these are daily stock quotes for coffee, and maybe even the images, even though I don't need all the javascript image map options that their page has?


  •  

    Posting Permissions

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