I’m thinking of looking at the Lemmy api and that’s best done when you have some actual problem to solve!
So, is there any bot that you’d like to see?
I’m thinking of looking at the Lemmy api and that’s best done when you have some actual problem to solve!
So, is there any bot that you’d like to see?
How to make a site handler:
In our example:
But, as I went up the tree like the last step said, I found this div:
You might think to go even upper like this:
But as you can see, the browser highlighted parts that aren’t the body of the article itself. So…don’t.
Now that we got the correct div, we’ll fill the siteHandler template like this
Then,
Edit it as you wish, or let me know if you need me to do so. No need for credit obviously, just helping improve this amazing tool is enough :)
Note: I had to use that codefile website because something went wrong with the code markdown, but I guess you can skip it once you put it on github.
Thank you very much! I’ve saved the comment and when I have time I’ll include it in the repository’s readme.
NP, but I’d advise you to save it somewhere else as a whole as I don’t know for how long that code sharing website host the templates. Although you can easily rewrite this part.
deleted by creator