Skip to content

albertoprieto/satpdf-Js-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XML to PDF Converter

Convert XML files to PDF using the satpdf API.

Table of Contents

Introduction

This web application allows you to convert XML files to PDF using the satpdf API. The application provides a simple user interface to select an XML file, send it to the API, and download the generated PDF.

Ensure to securely pass the API URL and key.

Getting Started

To get started with the XML to PDF converter, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/xml-to-pdf-converter.git

Open the index.html file in a web browser or deploy the application to a web server.

Replace the placeholder values in the script with your satpdf API URL and secret key.

Usage

Open the application in a web browser.

Click the "Choose File" button and select the XML file you want to convert.

Click the "Convert" button.

The result will be displayed, and the generated PDF will be available for download.

Use the main if the purpose is to process all XML files in a directory

Configuration

Replace the following placeholder values in the script with your actual API URL and secret key:

var apiUrl = "pass_the_api_url";
var secretKey = "pass_secret_key_here";

Dependencies

Bootstrap jQuery Popper.js

Contributing

Feel free to contribute to the development of this project. You can open issues for bug reports or submit pull requests for improvements.

License

This project is licensed under the MIT License.

Make sure to replace the placeholder values and customize the content as needed.

About

From XML to PDF using the satpdf API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages