Tools to Capture and Convert the Web
GrabzIt's Online Community

Regarding the large amount of convertion data

Ask questions relating to GrabzIt's Web Scraper Tool. Such as how to use the web scraper and API to extract data from web pages, images or PDF documents.

HI,

When i am trying to convert the html to docx using this below mehtod.

Merge a batch of Word Documents

<script>
GrabzIt("NzAyMTg3YzMwNmIyNDNiNDgzYTllZjMwNTY1MDg4MGQ=").ConvertURL("http://www.example.com/page1.html",
{"format": "docx", "onfinish": function(id){
GrabzIt("NzAyMTg3YzMwNmIyNDNiNDgzYTllZjMwNTY1MDg4MGQ=").ConvertURL("http://www.example.com/page2.html",
{"mergeid": id, "format": "docx", "onfinish": function(id){
GrabzIt("NzAyMTg3YzMwNmIyNDNiNDgzYTllZjMwNTY1MDg4MGQ=").ConvertURL("http://www.example.com/page3.html",
{"mergeid": id, "format": "docx"}).Create();
}}).CreateInvisible();
}}).CreateInvisible ();

 then getting the below respons , can you please help me out in this?

{"Result":"False","ID":"","Message":"Your current package does not support merging DOCX documents. Upgrade for free to merge DOCX documents: https://grabz.it/upgrade/?FreeTrial=true","Code":"500"}

 

Please let me know how can i check the "Merge a batch of Word Documents" of fucntionality

Asked by Charanjit Singh on the 11th of July 2019

This is why we provide a free trial for our customers!

Answered by GrabzIt Support on the 11th of July 2019

Hi,

Thanks for replying of prvious question.

Soon, i will purchase the memebership of grabzit. Before move, i have few queries that need to be answered please.

1. Is there any way that i can add page number to each page while exporting Html to Docx?

2. I  want to add the css links into the html , is this the right way to do this or is there any pararmeteri in grabzit where i need to pass on?

<html>

<head>

<link href='https://planning.watermarkinsights.com/vendor/froala/font_awesome/font-awesome.css' rel='stylesheet'>

</head>

</html>

3. I am adding the href tag into html like below

Before exporting

<a href='../self_study_report/HLC/Criterion1.Mission/1.A/SOA_Report.pdf' />

After exporting

<a href="http://file.grabz.it/self_study_report/HLC/Criterion1.Mission/1.A/SOA_Report.pdf" />

If you observed after exporting link prefixing the this path "http://file.grabz.it"

but my actual path is this "../self_study_report/HLC/Criterion1.Mission/1.A/SOA_Report",  this file path which will view file which is exist on upper path. so i just need the path way i am giving into the a tag.

 

 

Answered by Charanjit Singh on the 15th of July 2019

To create page numbers you will need to create a template and apply that to the DOCX.

It looks like the link issue, should be simple to fix but will require a release so we have raised a case with our developers.

Yes, you can add your CSS ass links or embedded it in the HTML.

Answered by GrabzIt Support on the 15th of July 2019

Hi,

Thanks for replying,

"It looks like the link issue, should be simple to fix but will require a release so we have raised a case with our developers."

Can you please let us how much time this release will take because in August we too have release?

Thanks

 

Answered by Charanjit Singh on the 15th of July 2019

No problem. We have already released a fix for this problem.

Answered by GrabzIt Support on the 15th of July 2019

Hi,

This is query is regarding of your previous reply.

is there anything new do i need to add for this as it released though, i am using the javasript library of grabzit?

Thanks

Charanjit Singh

Answered by Charanjit Singh on the 17th of July 2019

No, it was a change in our end.

Answered by GrabzIt Support on the 17th of July 2019

Hi,

1 it means when ever i will try to export will get this thing done ?

2. This below is my account which have purchaed can you please increase the maximum export data limit 10MB to 15 Mb for this account?

UserName : -  tspurchases-dl@watermarkinsights.com

Thanks

Charanjit Singh

Answered by Charanjit Singh on the 17th of July 2019

Both changes have already been made to the software for everyone. You don't need to do anything.

Answered by GrabzIt Support on the 17th of July 2019

Hi,

1. I am wondering, how to create the template to achieve the page number on each page footer,if could help me out in this appreciable.

2. I am using the javascript library to convert html to docx but in this once the file dowloads , so it should download with name that i will pass to it not like  "OTE0NTBhYTUwNGRiNDAyNmFkYTViMzhlNjkwNTNlMjk=-169a925ea16d4ba9bc0649d3060caa30d.docx" this, if is there any way that i can achieve this will be helped?

 

Thanks

Charanjit Singh

 

Answered by Charanjit Singh on the 17th of July 2019

Hi Support,

I am facing issue of css is not being loaded as can see from downloaded docx.

I am passing the below html and getting the image left aligned but the image right aligned as you can see the class css is embeded on the image tag
class= "fr-fic fr-dib fr-fir" that link is passed, can you please let is know , is css links being rendered at your site. The same html file is showing the correct result but when i pass to grabzit it does not come as expected.


<html><head>
      <link href='https://planning.watermarkinsights.com/vendor/froala/font_awesome/font-awesome.css' rel='stylesheet'>
      <link href='https://planning.watermarkinsights.com/vendor/froala/froala_editor.min.css' rel='stylesheet' type='text/css'>
      <link href='https://planning.watermarkinsights.com/vendor/froala/froala_style.min.css' rel='stylesheet' type='text/css'>
      <link href='https://planning.watermarkinsights.com/vendor/froala/plugins/draggable.min.css' rel='stylesheet'>
      <link href='https://planning.watermarkinsights.com/vendor/froala/plugins/image_manager.min.css' rel='stylesheet'>
      <link href='https://planning.watermarkinsights.com/vendor/froala/plugins/image.min.css' rel='stylesheet'>
     
<head><body><div class='fr-element fr-view'>
                 
<div><img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" style="width: 300px;" class="fr-fic fr-dib fr-fir"></div>
                 
</body></html>


Thanks
Charanjit Singh

Answered by Charanjit Singh on the 22nd of July 2019