What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Make a script get content from a website

Make a script get content from a website
Author: Message:
gabrielkfl
New Member
*


Posts: 2
Joined: Mar 2011
O.P. Make a script get content from a website
Put simply, what I want is a function that get the content of a text file hosted in the web into a string. Something like this:

var content = download( "http://www.example.com/whatever.txt" );

Now the reason I want this is because I want my script to realize when updates are available online. If there's no way to get the content from the page, anything that allows me to check a status on the web will do. For example, it could check if a certain page exists, like this:

var exists = checkIfPageExists( "http://www.example.com/whatever.txt" );

Anything that allows me to check for updates to my script.



EDIT:
Oops, looks like the script I was searching for already exists.
I found it here: http://mpscripts.net/code.php?id=19

Very cool script, does EXACTLY what I wanted it to. Just found a couple bugs in it, and changed one or two tiny bits, but overall it's perfect.

I'm just gonna leave this page here in case someone shows up with the same doubt.

This post was edited on 03-09-2011 at 05:34 AM by gabrielkfl.
03-09-2011 04:15 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Make a script get content from a website - by gabrielkfl on 03-09-2011 at 04:15 AM
RE: Make a script get content from a website - by matty on 03-09-2011 at 01:39 PM
RE: Make a script get content from a website - by gabrielkfl on 03-11-2011 at 12:19 AM
RE: Make a script get content from a website - by whiz on 03-11-2011 at 08:25 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On