Great component! I can definitely see myself using this in the future.
Do you know if I can use Papa Parse in this component? I need to convert CSV data to an Adalo collection.
I looked at Papa Parse, it can work in this component. Might get a little hairy to get working, but it will be possible.
Thanks Steven. I’ll let you know if it works.
This seems awesome! Would I be able to use this to embed a single tweet?
Something like this?
<blockquote class="twitter-tweet" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Jalen Hurts threw a strike for six 🔥<br><br>(via <a href="https://twitter.com/NFL?ref_src=twsrc%5Etfw">@NFL</a>) <a href="https://t.co/cRs5iMujrd">pic.twitter.com/cRs5iMujrd</a></p>— SportsCenter (@SportsCenter) <a href="https://twitter.com/SportsCenter/status/1473486042141532169?ref_src=twsrc%5Etfw">December 22, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>```
You should be able to. Just make sure to remove the 3 quotation marks at the end.
Looking at it, it would be difficult but doable. There is a much better solution for what you are looking to do that would make this easy. I might be able to release it tomorrow. I was going to release it today but I got the Jam audio working without it so I didn’t bother. Turns out there are many use cases for it like deep linking and others…
Here is what it will look like when released (using your code you sent)
SHEESH!!! I’ve been dying to get something like this! You’re a champion!
This should do the trick, I am sure there are improvements we can make, but at least for now you should be able to advance on your project.
I’m blown away.
Honest question here, how can I help you for doing this? This single implementation has been a headache for us since March and you knocked it out overnight.
Is there a way I can donate to you? DM me.
We do it 4LOM (for love of makers), I come from an Irish Catholic sports family, giving and sports is in the blood.
If you really want, there is a pink patreon button on the marketplace (https://adalo.pragmaflowservers.com/) feel free to donate anything. It is a monthly subscription but you can cancel anytime. The money from patreon is a morale boost for us, not keeping the lights on so anything is good.
Hey, could you possibly develop a component that converts text and images into a PDF without having to use external automatisms?
Will definitely go through Patreon!
I noticed on your Vimeo example and in our test flight that the final tweet renders at only half the screen size. I tried using custom code in the html, but no luck. Works great in web app on mobile, just not native. Probably something to do with the container itself?
Side note - if you’re an Irish fan, Ian Book was thrown into the thick of it on Monday night! He struggled but man he has passion. I think he’ll be on rosters for a long time.
example of issue -
Sorry, should have explained that a little more. This is due to pixel density and scaling, blah blah blah. To fix this add
<meta name='viewport' content='initial-scale=1.0'/> before your block quote
<meta name='viewport' content='initial-scale=1.0'/><blockquote class="twitter-tweet" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Jalen Hurts threw a strike for six 🔥<br><br>(via <a href="https://twitter.com/NFL?ref_src=twsrc%5Etfw">@NFL</a>) <a href="https://t.co/cRs5iMujrd">pic.twitter.com/cRs5iMujrd</a></p>— SportsCenter (@SportsCenter) <a href="https://twitter.com/SportsCenter/status/1473486042141532169?ref_src=twsrc%5Etfw">December 22, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
This will fix the scaling issue on your phone.
As for Ian Book, my kids smashed my TV a couple weeks ago and I just got around to buying a new one yesterday so I missed a lot of games. I will need to look up the highlights. My favorite hockey player to watch right now is Brendan Gallagher, not because he is skillful and talented, but because he has passion and heart. Fearless going to the net. I love watching athletes with that level of pure love for the game.
That is very vague. I suppose the unhelpful answer is Yes, but…
Do you want to convert a page to PDF? in that case, in the video I show how to make a print button, you can print to pdf. Do you want to generate an invoice with a specific look and populate based on fields. This is possible to do but it is a lot of work getting the text in the right position on the page so using a service that lets you drag and drop is probably a better solution.
All that to say, here is a proof of concept using the 2 components in this thread.
Thank you, i will test it. I will Convert a Page to a pdf
Actually, my idea was to fill an Office Document with Magic Text in certain places. So the document is ready before, but the document is filled with data from the database and created directly. Likewise one should be able to store this actually directly.
After watching the video, I have the following question: if I prepare a document the size of a paper using HTML and fill certain gaps with Magic Text only, will I end up with the document I need? This is possible or?
I am a huge fan of https://www.pagedjs.org/, I think what they do is excellent and I use this for all the manuals and documentation we write. It allows us to create a very web friendly version of text, but make it very nice for printing and converting to PDFs.
Thank you for your detailed reply. I may not be the professional, however I know html and CSS very well. I guess then I have to use inline CSS or?
Otherwise, thanks again for your answers. This helps me a lot!!!