Capture with Command Line White space

74 views
Skip to first unread message

The wonderer

unread,
Dec 3, 2008, 10:57:09 PM12/3/08
to url2jpeg
Was anyone ever able to find out why the white space is appearing? I
am having the same issue.

My script:
___________________________________

<?xml version="1.0" encoding="utf-8" ?>
- <scripts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <scriptList>
- <scriptData>
<name>working</name>
<url>http://www.miemss.org/chatshc/Default.aspx?
Region=3&tab=Hospitals</url>
<bRemoveScrollBar>true</bRemoveScrollBar>
<bAutoResize>true</bAutoResize>
- <initialSize>
<Width>1024</Width>
<Height>768</Height>
</initialSize>
- <sizeOffset>
<Width>0</Width>
<Height>20</Height>
</sizeOffset>
<timeOut>20</timeOut>
<waitBeforeCapture>5</waitBeforeCapture>
<capture>Full</capture>
- <captureParam>
- <Location>
<X>0</X>
<Y>0</Y>
</Location>
- <Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</captureParam>
<resize>No</resize>
- <resizeParam>
<Width>0</Width>
<Height>0</Height>
</resizeParam>
<format>Png</format>
</scriptData>
- <scriptData>
<name>remax</name>
<url>http://www.remax.com</url>
<bRemoveScrollBar>true</bRemoveScrollBar>
<bAutoResize>false</bAutoResize>
- <initialSize>
<Width>1024</Width>
<Height>768</Height>
</initialSize>
- <sizeOffset>
<Width>0</Width>
<Height>0</Height>
</sizeOffset>
<timeOut>10</timeOut>
<waitBeforeCapture>5</waitBeforeCapture>
<capture>Full</capture>
- <captureParam>
- <Location>
<X>0</X>
<Y>0</Y>
</Location>
- <Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</captureParam>
<resize>No</resize>
- <resizeParam>
<Width>0</Width>
<Height>0</Height>
</resizeParam>
<format>Png</format>
</scriptData>
</scriptList>
</scripts>
_________________________

Thanks for any help.

url2jpeg team

unread,
Jan 4, 2009, 4:13:57 AM1/4/09
to url2jpeg
Hi,

You generate the XML file manually and do not follow XML syntax.
http://www.miemss.org/chatshc/Default.aspx?Region=3&tab=Hospitals
is incorrect, because & is the XML escape character.
To find the correct syntax enter the URL in url2jpeg and create the
script.
You will get
http://www.miemss.org/chatshc/Default.aspx?Region=3&amp;tab=Hospitals

Look at this page for some XML escape sequence
http://xmmssc-www.star.le.ac.uk/SAS/xmmsas_20070308_1802/doc/param/node24.html

Cheer,
Remi
Reply all
Reply to author
Forward
0 new messages