la5nta / pat

A cross-platform Winlink client written in Go
https://getpat.io
MIT License
497 stars 86 forks source link

{FormFolder} is not parsed by Pat #458

Open ClaudeMa opened 2 months ago

ClaudeMa commented 2 months ago

In Winlink forms create documentation i can read

There are three special insertion fields for forms: {FormFolder} -- Inserts the folder where the form is stored. {FormServer} -- Inserts the IP address of the Winlink Express form server. {FormPort} -- Inserts the IP port number Winlink Express is listening on for input from the form.

I have a from with stylesheet include like this

<link href="{FormFolder}FormStyle.css" rel="stylesheet" type="text/css" />

the form work on winlink express but in Pat the url generated in the brownser is

http://localhost:8080/api/{FormFolder}FormStyle.css

same problems with stylesheet

martinhpedersen commented 2 months ago

Hi,

Do you have the permission to share the relevant files? That would be very useful for debugging and testing.

Thanks 😊

ClaudeMa commented 2 months ago

Hi Martin Tnc for your nice programming work I send you a file in a few day

73 Claude

Le mar. 17 sept. 2024 à 18:23, Martin Hebnes Pedersen < @.***> a écrit :

Hi,

Do you have the permission to share the relevant files? That would be very useful for debugging and testing.

Thanks 😊

— Reply to this email directly, view it on GitHub https://github.com/la5nta/pat/issues/458#issuecomment-2356384207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVFFYQUJYU622NIPAKJFVTZXBJOPAVCNFSM6AAAAABOLH63DOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGM4DIMRQG4 . You are receiving this because you authored the thread.Message ID: @.***>

ClaudeMa commented 1 week ago

Hi Martin

Attached is an example of templates using {FormFolder} that work perfectly with winlink express.

the javascript file and style sheet are imported from "inc" directory

bulletin.zip