-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass export file name #39
Comments
Do you want that to essentially become an API so that you can automatically get an SVG from visiting that URL or are you just saying that the passed in export_name should be the default filename that is used when saving an SVG? |
Hey, thanks for the fast reply! I mean the second variant. |
Cool. That's certainly the easier option. Unfortunately, I'm not sure when I'll have time to do this but if you want to try yourself, the code for saving SVGs is here: Url parameters are in the It should be relatively simple to combine the two to achieve what you want. If you want to implement this, I'm happy to merge a PR. |
Thanks! I will give it a try :-) |
Hi egg, have you succeeded or do you need help here? |
Unknown, I will investigate if I implemented a workaround. Thanks for asking. |
Hi, this is a feature request :-)
Would it be possible to pass a filename for export via
a parameter in the request URL?
For example append &export_name=peterisawesomerna
http://rna.tbi.univie.ac.at/forna/forna.html?id=fasta&file=%3Eheader\nCCAAGACAUUCUUGAGGCAGCGGAUCGUCAGAAUAACGAUACGCGCCGCACGGCCAAUGGCCGACCGCAGGAGACGAUUAACGCCAAUCUGCGCGCAUAAGCAGAACCUGCGGAAUUUUACGUCUUGGAAGUGAUGUACGGAGCAUAAGAGCAAUGACCGAAUCAAAAGUAAAGACACCGAUC\n(((((((......(.(((.(((..((((.......))))..)))))).).(((((...))))).(((((((......(((.(((........)))..)))......)))))))........)))))))...((((...(((..(((.......))).))).))))..................&export_name=peterisawesomerna
Thanks egg
The text was updated successfully, but these errors were encountered: