RevBrowserPrint

classic Classic list List threaded Threaded
35 messages Options
12
Reply | Threaded
Open this post in threaded view
|

RevBrowserPrint

Ray Horsley-2
I seem to have discovered several limitations to the RevBrowserPrint  
command.

Firstly, it seems to have no way of cooperating with batch printing.  
That is, if I open printing, print a batch of cards via a repeat loop,  
and close printing (expecting to print the whole batch on closing)  
RevBrowserPrint behaves as if I never opened printing in the first  
place in that it presents the print dialog and prints the card on each  
iteration of the repeat loop.

The second limitation is I seem to have a choice of either printing  
the browser image or Revolution fields, but not the combination of  
both.  Any ideas on how to overcome either of these?

Thanks,

Ray Horsley
LinkIt! Software

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: RevBrowserPrint

xtalkprogrammer
Ray,

Make a snapshot of the browser window and put that on a card. Now  
print your cards.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects.

Op 22 feb 2010, om 14:46 heeft Ray Horsley het volgende geschreven:

> I seem to have discovered several limitations to the RevBrowserPrint  
> command.
>
> Firstly, it seems to have no way of cooperating with batch  
> printing.  That is, if I open printing, print a batch of cards via a  
> repeat loop, and close printing (expecting to print the whole batch  
> on closing) RevBrowserPrint behaves as if I never opened printing in  
> the first place in that it presents the print dialog and prints the  
> card on each iteration of the repeat loop.
>
> The second limitation is I seem to have a choice of either printing  
> the browser image or Revolution fields, but not the combination of  
> both.  Any ideas on how to overcome either of these?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Kind regards,

Drs. Mark Schonewille

Economy-x-Talk Consultancy and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Facebook: http://facebook.com/LiveCode.Beginner
KvK: 50277553
Reply | Threaded
Open this post in threaded view
|

Re: RevBrowserPrint

Ray Horsley-2
Mark,

Thanks for this suggestion, but wouldn't that make the print-out  
grainy when it comes to the text portion of the print-out?  My  
experience is that printing images of text is usually kind of grainy  
as compared with printing the actual text fonts (even if they're  
substituted by printer fonts).  I can easily try it on my own printers  
but that may not reveal what will happen on other printers.  What do  
you think?

Thanks,

Ray

On Feb 22, 2010, at 3:05 AM, Mark Schonewille wrote:

> Ray,
>
> Make a snapshot of the browser window and put that on a card. Now  
> print your cards.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new projects.
>
> Op 22 feb 2010, om 14:46 heeft Ray Horsley het volgende geschreven:
>
>> I seem to have discovered several limitations to the  
>> RevBrowserPrint command.
>>
>> Firstly, it seems to have no way of cooperating with batch  
>> printing.  That is, if I open printing, print a batch of cards via  
>> a repeat loop, and close printing (expecting to print the whole  
>> batch on closing) RevBrowserPrint behaves as if I never opened  
>> printing in the first place in that it presents the print dialog  
>> and prints the card on each iteration of the repeat loop.
>>
>> The second limitation is I seem to have a choice of either printing  
>> the browser image or Revolution fields, but not the combination of  
>> both.  Any ideas on how to overcome either of these?
>>
>> Thanks,
>>
>> Ray Horsley
>> LinkIt! Software
>
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: RevBrowserPrint

xtalkprogrammer
Hi Ray,

Yes, indeed, the printing quality will be bad, but at least you'll be  
able to print something at all.

Do you have any good reason the believe that the revBrowserPrint  
command produces better results?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.

Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:

> Mark,
>
> Thanks for this suggestion, but wouldn't that make the print-out  
> grainy when it comes to the text portion of the print-out?  My  
> experience is that printing images of text is usually kind of grainy  
> as compared with printing the actual text fonts (even if they're  
> substituted by printer fonts).  I can easily try it on my own  
> printers but that may not reveal what will happen on other  
> printers.  What do you think?
>
> Thanks,
>
> Ray

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Kind regards,

Drs. Mark Schonewille

Economy-x-Talk Consultancy and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Facebook: http://facebook.com/LiveCode.Beginner
KvK: 50277553
Reply | Threaded
Open this post in threaded view
|

Re: RevBrowserPrint

Ray Horsley-2
Mark,

Good question.  So I just printed using revBrowserPrint and got pretty  
good results.  In fact, the clarity was the same quality I would  
expect in printing any text and it was not grainy at all.

Thanks,

Ray

On Feb 22, 2010, at 5:13 AM, Mark Schonewille wrote:

> Hi Ray,
>
> Yes, indeed, the printing quality will be bad, but at least you'll  
> be able to print something at all.
>
> Do you have any good reason the believe that the revBrowserPrint  
> command produces better results?
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new software development  
> projects. Feel free to contact me for a quote.
>
> Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:
>
>> Mark,
>>
>> Thanks for this suggestion, but wouldn't that make the print-out  
>> grainy when it comes to the text portion of the print-out?  My  
>> experience is that printing images of text is usually kind of  
>> grainy as compared with printing the actual text fonts (even if  
>> they're substituted by printer fonts).  I can easily try it on my  
>> own printers but that may not reveal what will happen on other  
>> printers.  What do you think?
>>
>> Thanks,
>>
>> Ray
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: RevBrowserPrint

Stephen Barncard-4
Yes, of course, it would be working with the native printing routines and
should look as expected.
-------------------------
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 08:19, Ray Horsley <[hidden email]> wrote:

> Mark,
>
> Good question.  So I just printed using revBrowserPrint and got pretty good
> results.  In fact, the clarity was the same quality I would expect in
> printing any text and it was not grainy at all.
>
> Thanks,
>
> Ray
>
>
> On Feb 22, 2010, at 5:13 AM, Mark Schonewille wrote:
>
>  Hi Ray,
>>
>> Yes, indeed, the printing quality will be bad, but at least you'll be able
>> to print something at all.
>>
>> Do you have any good reason the believe that the revBrowserPrint command
>> produces better results?
>>
>> --
>> Best regards,
>>
>> Mark Schonewille
>>
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>>
>> Economy-x-Talk is always looking for new software development projects.
>> Feel free to contact me for a quote.
>>
>> Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:
>>
>>  Mark,
>>>
>>> Thanks for this suggestion, but wouldn't that make the print-out grainy
>>> when it comes to the text portion of the print-out?  My experience is that
>>> printing images of text is usually kind of grainy as compared with printing
>>> the actual text fonts (even if they're substituted by printer fonts).  I can
>>> easily try it on my own printers but that may not reveal what will happen on
>>> other printers.  What do you think?
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: RevBrowserPrint

Ray Horsley-2
In reply to this post by xtalkprogrammer
Mark,

Once again, thanks for your input on this.  Here's my conclusion.  I  
can either:

    1)  Print only the browser part of the card and get clear text
    2)  Print only the non-browser part of the card and get clear text
    3)  Print both the browser and non-browser parts (via snap shot)  
and get fuzzy text

I think we can live with this limitation so we'll probably go with  
number 1.

Thanks,

Ray

On Feb 22, 2010, at 5:13 AM, Mark Schonewille wrote:

> Hi Ray,
>
> Yes, indeed, the printing quality will be bad, but at least you'll  
> be able to print something at all.
>
> Do you have any good reason the believe that the revBrowserPrint  
> command produces better results?
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new software development  
> projects. Feel free to contact me for a quote.
>
> Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:
>
>> Mark,
>>
>> Thanks for this suggestion, but wouldn't that make the print-out  
>> grainy when it comes to the text portion of the print-out?  My  
>> experience is that printing images of text is usually kind of  
>> grainy as compared with printing the actual text fonts (even if  
>> they're substituted by printer fonts).  I can easily try it on my  
>> own printers but that may not reveal what will happen on other  
>> printers.  What do you think?
>>
>> Thanks,
>>
>> Ray
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Altering HTML Text

Ray Horsley-2
In reply to this post by Ray Horsley-2
I thought I'd add a line of text to a url displayed via the RevBrowser  
commands.  Here's the general idea:

put revBrowserGet(sBrowserId,"htmlText") into myHtmlText
-- add a line of text to the top of the
revBrowserSet sBrowserId,"htmlText",myHtmlText

I can get the htmlText, but it looks funny in the variable watcher  
with weird characters and, even if I don't add a line to it, when I  
user revBrowserSet to put it back it comes out funny looking.  
Uniencoding and decoding doesn't work.

Ideas?

Ray Horsley
LinkIt! Software
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Andre Garzia-3
Check the HTML encoding on the source.

You may be adding some special chars from Mac character set and the HTML
might be using something else.

On Mon, Feb 22, 2010 at 9:00 PM, Ray Horsley <[hidden email]> wrote:

> I thought I'd add a line of text to a url displayed via the RevBrowser
> commands.  Here's the general idea:
>
> put revBrowserGet(sBrowserId,"htmlText") into myHtmlText
> -- add a line of text to the top of therevBrowserSet
> sBrowserId,"htmlText",myHtmlText
>
> I can get the htmlText, but it looks funny in the variable watcher with
> weird characters and, even if I don't add a line to it, when I user
> revBrowserSet to put it back it comes out funny looking.  Uniencoding and
> decoding doesn't work.
>
> Ideas?
>
> Ray Horsley
> LinkIt! Software
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



--
http://www.andregarzia.com All We Do Is Code.
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Ray Horsley-2
André,

Thanks for the tip!  Is the HTML encoding a property as in get the  
htmlEnccoding of myVar, or is it something else?

Thanks,

Ray

On Feb 22, 2010, at 2:53 PM, Andre Garzia wrote:

> Check the HTML encoding on the source.
>
> You may be adding some special chars from Mac character set and the  
> HTML
> might be using something else.
>
> On Mon, Feb 22, 2010 at 9:00 PM, Ray Horsley <[hidden email]> wrote:
>
>> I thought I'd add a line of text to a url displayed via the  
>> RevBrowser
>> commands.  Here's the general idea:
>>
>> put revBrowserGet(sBrowserId,"htmlText") into myHtmlText
>> -- add a line of text to the top of therevBrowserSet
>> sBrowserId,"htmlText",myHtmlText
>>
>> I can get the htmlText, but it looks funny in the variable watcher  
>> with
>> weird characters and, even if I don't add a line to it, when I user
>> revBrowserSet to put it back it comes out funny looking.  
>> Uniencoding and
>> decoding doesn't work.
>>
>> Ideas?
>>
>> Ray Horsley
>> LinkIt! Software
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Jim Ault
On Feb 22, 2010, at 8:01 PM, Ray Horsley wrote:
> Is the HTML encoding a property as in get the htmlEnccoding of  
> myVar, or is it something else?
>
Fields have the htmlText property since they display text.
Variables don't display text.
You can put the htmlText of fld 1 into a variable, or a custom  
property, or write it to a file.

Hope this helps.


Jim Ault
Las Vegas



_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Ray Horsley-2
Thanks Jim, but we may be speaking of two different things here.  I'm  
really not setting the htmlText of a field at all.  Instead, I'm using  
the RevBrowse library of commands to display a URL.  The goal is to  
get the source code of the html (like you would with 'View Source' in  
a browser), alter it, and then use the RevBrowse commands once again  
to re-display the new URL.

The way I'm getting the source code is using something like:

       put revBrowserGet(sBrowserId,"htmlText") into mySourceCode

I'd then like to alter it and put it back with something like:

     revBrowserSet sBrowserId,"htmlText", mySourceCode

The problem is, even if I don't alter it and simply put it back as I  
found it I don't get the same display.

Any further ideas are always appreciated!

Thanks,

Ray

On Feb 22, 2010, at 5:20 PM, Jim Ault wrote:

> On Feb 22, 2010, at 8:01 PM, Ray Horsley wrote:
>> Is the HTML encoding a property as in get the htmlEnccoding of  
>> myVar, or is it something else?
>>
> Fields have the htmlText property since they display text.
> Variables don't display text.
> You can put the htmlText of fld 1 into a variable, or a custom  
> property, or write it to a file.
>
> Hope this helps.
>
>
> Jim Ault
> Las Vegas
>
>
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

David C.
>The problem is, even if I don't alter it and simply put it back as I found it I don't get the same display.

Could it be that the differences in the display have to do with
formatting based on a CSS file for the original page?
If so, maybe you could check the original source for the reference to
the CSS file, parse out that info and grab the CSS file also?

I'm probably way off base as usual, but it's a thought at least...

David C.
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Andre Garzia-3
In reply to this post by Ray Horsley-2
Ray,

can you send me or us, the htmltext prior to your insertion and after it?

Cheers
andre

On Tue, Feb 23, 2010 at 2:38 PM, Ray Horsley <[hidden email]> wrote:

> Thanks Jim, but we may be speaking of two different things here.  I'm
> really not setting the htmlText of a field at all.  Instead, I'm using the
> RevBrowse library of commands to display a URL.  The goal is to get the
> source code of the html (like you would with 'View Source' in a browser),
> alter it, and then use the RevBrowse commands once again to re-display the
> new URL.
>
> The way I'm getting the source code is using something like:
>
>      put revBrowserGet(sBrowserId,"htmlText") into mySourceCode
>
> I'd then like to alter it and put it back with something like:
>
>    revBrowserSet sBrowserId,"htmlText", mySourceCode
>
> The problem is, even if I don't alter it and simply put it back as I found
> it I don't get the same display.
>
> Any further ideas are always appreciated!
>
> Thanks,
>
> Ray
>
>
> On Feb 22, 2010, at 5:20 PM, Jim Ault wrote:
>
>  On Feb 22, 2010, at 8:01 PM, Ray Horsley wrote:
>>
>>> Is the HTML encoding a property as in get the htmlEnccoding of myVar, or
>>> is it something else?
>>>
>>>  Fields have the htmlText property since they display text.
>> Variables don't display text.
>> You can put the htmlText of fld 1 into a variable, or a custom property,
>> or write it to a file.
>>
>> Hope this helps.
>>
>>
>> Jim Ault
>> Las Vegas
>>
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



--
http://www.andregarzia.com All We Do Is Code.
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Ray Horsley-2
In reply to this post by David C.
David, André,

Not a bad thought David, but I don't think I see a CSS in this URL.  
André, thanks for asking.  Here's the URL:

http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/ELA  
NO 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/1000323.htm

If I use the RevBrowser library handlers to display it in an image I  
can then get the htmlText of the 'instance' using the RevBrowserGet()  
function.  That's where I get strange looking characters.  If I then  
set the htmlText of the same image using RevBrowserSet, passing the  
return I got from RevBrowserGet(), the display turns weird.  I'll  
include, below, a little bit of the weird return I get from the  
RevBrowserGet() function after displaying the above URL.

Thanks,

Ray

Ôªø<HTML><BODY><HEAD></HEAD><div style="font-size:14pt; font-family:  
Times; font-weight: bold;text-align:center;"><span style="font-size:
14pt; font-family: Times; font-weight: bold;text-
align:center;">Arrowhead Farm</span></div><div style="text-
align:center;margin-top:0pt;margin-bottom: 1em;"><img src="../images/
5067210.Jpeg" width="70" height="191" format="Jpeg" /></div><table  
style="font-size:12pt; font-family: Times; font-weight:  
normal;"><tr><td style="font-size:12pt; font-family: Times; font-
weight: normal;vertical-align: top; width: .25in;">1</td><td><div  
style="text-indent: 0.25in;margin-top:0em;margin-bottom:1em;">‚ÄúHey,  
Max, time to wake up,‚Äù Mrs. Jensen said. ‚ÄúIt‚Äôs Saturday, our day  
to visit Grandpa.”</div></td></tr></table><table style="font-size:
12pt; font-family: Times; font-weight: normal;"><tr><td style="font-
size:12pt; font-family: Times; font-weight: normal;vertical-align:  
top; width: .25in;">2</td><td><div style="text-indent: 0.25in;margin-
top:0em;margin-bottom:1em;">


On Feb 23, 2010, at 6:48 AM, David Coker wrote:

>> The problem is, even if I don't alter it and simply put it back as  
>> I found it I don't get the same display.
>
> Could it be that the differences in the display have to do with
> formatting based on a CSS file for the original page?
> If so, maybe you could check the original source for the reference to
> the CSS file, parse out that info and grab the CSS file also?
>
> I'm probably way off base as usual, but it's a thought at least...
>
> David C.
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Andre Garzia-3
Ray,

can you send a couple screenshots to my private email?

Be aware that you can't add to the top of the htmltext property or you'll be
adding text before the DOCTYPE declaration which in my opinion will wreck
everything.

If you want to add text before the displayable content, add it after <body>
declaration but before everything else.

Cheers
andre



On Tue, Feb 23, 2010 at 6:31 PM, Ray Horsley <[hidden email]> wrote:

> David, André,
>
> Not a bad thought David, but I don't think I see a CSS in this URL.  André,
> thanks for asking.  Here's the URL:
>
> http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/ELA NO
> 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/1000323.htm
>
> If I use the RevBrowser library handlers to display it in an image I can
> then get the htmlText of the 'instance' using the RevBrowserGet() function.
>  That's where I get strange looking characters.  If I then set the htmlText
> of the same image using RevBrowserSet, passing the return I got from
> RevBrowserGet(), the display turns weird.  I'll include, below, a little bit
> of the weird return I get from the RevBrowserGet() function after displaying
> the above URL.
>
> Thanks,
>
> Ray
>
> Ôªø<HTML><BODY><HEAD></HEAD><div style="font-size:14pt; font-family: Times;
> font-weight: bold;text-align:center;"><span style="font-size:14pt;
> font-family: Times; font-weight: bold;text-align:center;">Arrowhead
> Farm</span></div><div style="text-align:center;margin-top:0pt;margin-bottom:
> 1em;"><img src="../images/5067210.Jpeg" width="70" height="191"
> format="Jpeg" /></div><table style="font-size:12pt; font-family: Times;
> font-weight: normal;"><tr><td style="font-size:12pt; font-family: Times;
> font-weight: normal;vertical-align: top; width: .25in;">1</td><td><div
> style="text-indent: 0.25in;margin-top:0em;margin-bottom:1em;">“Hey, Max,
> time to wake up,” Mrs. Jensen said. “It’s Saturday, our day to visit
> Grandpa.”</div></td></tr></table><table style="font-size:12pt;
> font-family: Times; font-weight: normal;"><tr><td style="font-size:12pt;
> font-family: Times; font-weight: normal;vertical-align: top; width:
> .25in;">2</td><td><div style="text-indent:
> 0.25in;margin-top:0em;margin-bottom:1em;">
>
>
>
> On Feb 23, 2010, at 6:48 AM, David Coker wrote:
>
>  The problem is, even if I don't alter it and simply put it back as I found
>>> it I don't get the same display.
>>>
>>
>> Could it be that the differences in the display have to do with
>> formatting based on a CSS file for the original page?
>> If so, maybe you could check the original source for the reference to
>> the CSS file, parse out that info and grab the CSS file also?
>>
>> I'm probably way off base as usual, but it's a thought at least...
>>
>> David C.
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



--
http://www.andregarzia.com All We Do Is Code.
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

slylabs13
In reply to this post by Ray Horsley-2
OMG! Spaces in a URL?? Bad Mojo! Probably has nothing to do with your particular problem, but it's not a very good practice.

Bob


On Feb 23, 2010, at 1:31 PM, Ray Horsley wrote:

> http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/ELA NO 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/1000323.htm

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Ray Horsley-2
Thanks Bob but I always urlEncode when necessary.  I just left it like  
that in my post for easier reading.

Thanks,

Ray

On Feb 23, 2010, at 11:23 AM, Bob Sneidar wrote:

> OMG! Spaces in a URL?? Bad Mojo! Probably has nothing to do with  
> your particular problem, but it's not a very good practice.
>
> Bob
>
>
> On Feb 23, 2010, at 1:31 PM, Ray Horsley wrote:
>
>> http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/
>> ELA NO 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/1000323.htm
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

slylabs13
oic. Whew. Well the link won't work that way. All I get when I right-click copy the link and paste it into a browser is http://www.linkit.com/EItemBank/ETS. But I think it's Apple Mail that tries to interpret it as a real link anyway, so no harm no foul. :-)

Bob


On Feb 23, 2010, at 2:35 PM, Ray Horsley wrote:

> Thanks Bob but I always urlEncode when necessary.  I just left it like that in my post for easier reading.
>
> Thanks,
>
> Ray
>
> On Feb 23, 2010, at 11:23 AM, Bob Sneidar wrote:
>
>> OMG! Spaces in a URL?? Bad Mojo! Probably has nothing to do with your particular problem, but it's not a very good practice.
>>
>> Bob
>>
>>
>> On Feb 23, 2010, at 1:31 PM, Ray Horsley wrote:
>>
>>> http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/ELA NO 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/1000323.htm
>>
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Altering HTML Text

Ray Horsley-2
Bob,

See what you get with this.  Here it urlEncoded:

http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20Bank/ELA%20NO%203rd%20Party%20Items/Grade%204%20QTI/ELA%20G4%20P1/passages/1000323.htm

Thanks,

Ray

On Feb 23, 2010, at 11:42 AM, Bob Sneidar wrote:

> oic. Whew. Well the link won't work that way. All I get when I right-
> click copy the link and paste it into a browser is http://www.linkit.com/EItemBank/ETS 
> . But I think it's Apple Mail that tries to interpret it as a real  
> link anyway, so no harm no foul. :-)
>
> Bob
>
>
> On Feb 23, 2010, at 2:35 PM, Ray Horsley wrote:
>
>> Thanks Bob but I always urlEncode when necessary.  I just left it  
>> like that in my post for easier reading.
>>
>> Thanks,
>>
>> Ray
>>
>> On Feb 23, 2010, at 11:23 AM, Bob Sneidar wrote:
>>
>>> OMG! Spaces in a URL?? Bad Mojo! Probably has nothing to do with  
>>> your particular problem, but it's not a very good practice.
>>>
>>> Bob
>>>
>>>
>>> On Feb 23, 2010, at 1:31 PM, Ray Horsley wrote:
>>>
>>>> http://www.linkit.com/EItemBank/ETS Formative Assessment Item  
>>>> Bank/ELA NO 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/
>>>> 1000323.htm
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your  
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
12