Go to a web page automatically

Pierre Sahores psahores at free.fr
Sat Jul 10 12:42:29 CDT 2010


Mike,

To get all the associated files (images, css, javascripts) fine loading along the main html file, you need to replace the relative path of those ones by the absolutes ones, if they are not loading from the same path than your irev script including the "get url ; put it" commands.

<?rev
get url "http://www.runrev.com"

replace the relative path of the css by the absolute one in it
replace the relative path of the javascript by the absolute one in it
replace the relative path of the image by the absolute one in it
etc...

put it
?>

Best, P.


Le 10 juil. 2010 à 19:10, Michael Kann a écrit :

> Greetings Pierre,
> 
> The following works:
> 
> <?rev
> get url "http://www.runrev.com"
> put it
> ?>
> 
> But the script loses some images and formatting along the way. If we just want the html source then it works fine.
> 
> Mike
> 
> 
> --- On Sat, 7/10/10, Pierre Sahores <psahores at free.fr> wrote:
> 
>> From: Pierre Sahores <psahores at free.fr>
>> Subject: Re: Go to a web page automatically
>> To: "How to use Revolution" <use-revolution at lists.runrev.com>
>> Date: Saturday, July 10, 2010, 11:45 AM
>> Try : get url http://yoururl ;
>> put it
>> 
>> Best, P.
>> 
>> Le 10 juil. 2010 à 18:23, Tim Selander a écrit :
>> 
>>> Hi,
>>> 
>>> Using the on-rev.com server scripting, is there a
>> <?rev  command that will open a specified web page?
>> 'launch' URL didn't seem to do it for me.
>>> 
>>> Thanks,
>>> 
>>> Tim Selander
>>> Tokyo, Japan
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and
>> manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>> 
>> --
>> Pierre Sahores
>> mobile : (33) 6 03 95 77 70
>> 
>> www.woooooooords.com
>> www.sahores-conseil.com
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage
>> your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.woooooooords.com
www.sahores-conseil.com









More information about the use-livecode mailing list