Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Mark Srebnik
Just got Rev3 about 2 weeks ago...so just getting started

Found Sarah's tutorial - MacAddict Forum Reader on RevJournal website.

Tried tutorial, but so far not getting web page to open...

on mouseUp
  show image Busy
  put field Address into tAddress
  load URL tAddress with message processWebPage
end mouseUp 


I notice that it uses command load URL, while in RunRev's beginning
tutorial video, they use 'revGoURL'... although checked Dictionary and it
says 'revGoURL' is now deprecated..  ;-)

Have tried both but neither are opening up a browser window after clicking
the Load button...

I did get browser window to open when trying Rev's beginning tutorial using
ŒrevGoURL¹

So can't figure out what's wrong...any suggestions???

Thanks for any help!

Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Richard Gaskin

Mark Srebnik wrote:


Found Sarah's tutorial - MacAddict Forum Reader on RevJournal website.

Tried tutorial, but so far not getting web page to open...

on mouseUp
  show image Busy
  put field Address into tAddress
  load URL tAddress with message processWebPage
end mouseUp 



I notice that it uses command load URL, while in RunRev's beginning
tutorial video, they use 'revGoURL'... although checked Dictionary and it
says 'revGoURL' is now deprecated..  ;-)

Have tried both but neither are opening up a browser window after clicking
the Load button...

I did get browser window to open when trying Rev's beginning tutorial using
ŒrevGoURL¹

So can't figure out what's wrong...any suggestions???


You can make a stub handler to route revGoURL to the new launch URL 
command - just add this to the stack script:


on revGoUrl pUrl
  launch url pUrl
end revGoURL


I'm surprised Rev hasn't maintained compatibility for their handler, but 
Sarah, if you have time to update that tutorial stack just send it to me 
at your convenience and I'll replace the one at revJournal.com.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Mark Srebnik
Mark Srebnik wrote:

 Found Sarah's tutorial - MacAddict Forum Reader on RevJournal website.
 
 Tried tutorial, but so far not getting web page to open...
 
 on mouseUp
   show image Busy
   put field Address into tAddress
   load URL tAddress with message processWebPage
 end mouseUp 
 
 
 I notice that it uses command load URL, while in RunRev's beginning
 tutorial video, they use 'revGoURL'... although checked Dictionary and it
 says 'revGoURL' is now deprecated..  ;-)
 
 Have tried both but neither are opening up a browser window after clicking
 the Load button...
 
 I did get browser window to open when trying Rev's beginning tutorial using
 ŒrevGoURL¹
 
 So can't figure out what's wrong...any suggestions???

From: Richard Gaskin [EMAIL PROTECTED]

You can make a stub handler to route revGoURL to the new launch URL
command - just add this to the stack script:

on revGoUrl pUrl
   launch url pUrl
end revGoURL


I'm surprised Rev hasn't maintained compatibility for their handler, but
Sarah, if you have time to update that tutorial stack just send it to me
at your convenience and I'll replace the one at revJournal.com.

-- 
  Richard Gaskin
  Managing Editor, revJournal
  ___
  Rev tips, tutorials and more: http://www.revJournal.com

Thanks for your help, Richard!

So just tried to do what you suggested as follows:

on mouseUp
show image Busy
put field Address into theAddress
revGoURL theAddress with message processWebPage
end mouseUp

on revGoURL pUrl
launch url pUrl
end revGoURL

However, now I get error message:

Object: button Load Button
Line: revGoURL the address with message processWebPage
Hint: with

???

Thanks,

Mark






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Richard Gaskin

Mark Srebnik wrote:


So just tried to do what you suggested as follows:

on mouseUp
show image Busy
put field Address into theAddress
revGoURL theAddress with message processWebPage
end mouseUp

on revGoURL pUrl
launch url pUrl
end revGoURL

However, now I get error message:

Object: button Load Button
Line: revGoURL the address with message processWebPage
Hint: with


Looks like Rev is choking on the with part.  You could comment that 
portion out, but maybe even better to just replace the call to 
revGoURL with the launch url command right in the mouseUp handler.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Sarah Reichelt
On Wed, Oct 1, 2008 at 2:22 AM, Mark Srebnik [EMAIL PROTECTED] wrote:
 Just got Rev3 about 2 weeks ago...so just getting started

 Found Sarah's tutorial - MacAddict Forum Reader on RevJournal website.

 Tried tutorial, but so far not getting web page to open...

 on mouseUp
  show image Busy
  put field Address into tAddress
  load URL tAddress with message processWebPage
 end mouseUp


 I notice that it uses command load URL, while in RunRev's beginning
 tutorial video, they use 'revGoURL'... although checked Dictionary and it
 says 'revGoURL' is now deprecated..  ;-)

 Have tried both but neither are opening up a browser window after clicking
 the Load button...


The real problem is that MacAddict is no more. It has morphed into
Mac|Life, lost all it's enthusiasm and become boring as well as filled
with ads for Sony  Vista. Having been a MacAddict subscriber since
issue 1, this was very sad to see and I did not renew my subscription.

Anyway, I will need to re-write the scripts to use the Mac|Life forums
instead of the MacAddict ones. The base address has changed but so has
the structure of the page. One I have done that, I will send it to
Richard for the revJournal site and notify people on the list.

One other issue is that the load command does not go to your browser
the way revGoURL or launch does. It just loads the HTML source into
memory, and when it is finished, it goes to the specified callback
handler, if one has been specified. If this was all working, you would
just see a list of forum names appear on the left. Then you would be
able to click on one of them to see a list of sub-forums names.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Mark Srebnik
On Wed, Oct 1, 2008 at 2:22 AM, Mark Srebnik msrebnik at earthlink.net
wrote:
 Just got Rev3 about 2 weeks ago...so just getting started

 Found Sarah's tutorial - MacAddict Forum Reader on RevJournal website.

 Tried tutorial, but so far not getting web page to open...

 on mouseUp
  show image Busy
  put field Address into tAddress
  load URL tAddress with message processWebPage
 end mouseUp


 I notice that it uses command load URL, while in RunRev's beginning
 tutorial video, they use 'revGoURL'... although checked Dictionary and it
 says 'revGoURL' is now deprecated..  ;-)

 Have tried both but neither are opening up a browser window after clicking
 the Load button...

On Tue, Sep 30 16:00:03 CDT 2008, Sarah Reichelt sarah.reichelt at
gmail.com wrote:

The real problem is that MacAddict is no more. It has morphed into
Mac|Life, lost all it's enthusiasm and become boring as well as filled
with ads for Sony  Vista. Having been a MacAddict subscriber since
issue 1, this was very sad to see and I did not renew my subscription.

Anyway, I will need to re-write the scripts to use the Mac|Life forums
instead of the MacAddict ones. The base address has changed but so has
the structure of the page. One I have done that, I will send it to
Richard for the revJournal site and notify people on the list.

One other issue is that the load command does not go to your browser
the way revGoURL or launch does. It just loads the HTML source into
memory, and when it is finished, it goes to the specified callback
handler, if one has been specified. If this was all working, you would
just see a list of forum names appear on the left. Then you would be
able to click on one of them to see a list of sub-forums names.

Cheers,
Sarah

Thanks so much for your help with this and your tutorial, Sarah!

Meanwhile, didn't realize that tutorial is only written for MacAddict forum.
I was trying to use another forum's web address that I visit often.

So, would be great as long as you're updating tutorial to add some comments
regarding getting this to work with other forums if that's not too much
trouble.

Thanks,

Mark




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Sarah Reichelt
 Thanks so much for your help with this and your tutorial, Sarah!

 Meanwhile, didn't realize that tutorial is only written for MacAddict forum.
 I was trying to use another forum's web address that I visit often.

 So, would be great as long as you're updating tutorial to add some comments
 regarding getting this to work with other forums if that's not too much
 trouble.

Here is my basic method:
- in your browser, load the page listing the forum categories and forum names.
- look at the source for this page and work out a method of
identifying the category  forum names, most likely a class name or
id.
- use my script for loading the page into memory, but edit the
processWebPage script to use the identifiers you found, the same way
my script for the MacAddict page used cattitle and forumlink

I can't really give specific instructions because each web page is
structured differently. You just have to look at the raw source and
script accordingly.

HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Tutorial - MacAddict Forum Reader on RevJournal Website - Webpage Won't Open

2008-09-30 Thread Mark Srebnik
 Thanks so much for your help with this and your tutorial, Sarah!

 Meanwhile, didn't realize that tutorial is only written for MacAddict forum.
 I was trying to use another forum's web address that I visit often.

 So, would be great as long as you're updating tutorial to add some comments
 regarding getting this to work with other forums if that's not too much
 trouble.

Sarah Reichelt sarah.reichelt at gmail.com Tue Sep 30 19:35:05 CDT 2008
wrote:

Here is my basic method:
- in your browser, load the page listing the forum categories and forum names.
- look at the source for this page and work out a method of
identifying the category  forum names, most likely a class name or
id.
- use my script for loading the page into memory, but edit the
processWebPage script to use the identifiers you found, the same way
my script for the MacAddict page used cattitle and forumlink

I can't really give specific instructions because each web page is
structured differently. You just have to look at the raw source and
script accordingly.

HTH,
Sarah

Thanks again for your help, Sarah!

Think I get the basic concepthowever, whether or not I can get it to
work in Rev. ;-)

Thanks,

Mark


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution