nitely / Spirit

Spirit is a modern Python based forum built on top of Django framework
http://spirit.readthedocs.io
MIT License
1.16k stars 334 forks source link

URL preview #301

Open nitely opened 3 years ago

nitely commented 3 years ago

Implement links preview for links placed in their own line. Use open-graph (og). Generating the content server side would require a task and re-parsing the raw comment. Check it was not modified in the meantime, and atomically update it using the timestamp. We could use JS instead but making requests to random sites without the user consent doesn't sound good.

On a second thought we already do random requests to get images, so fetching the og content would not be worse than that. I'm more incline in solving this with JS.

hammadarshad1 commented 3 years ago

Is this feature added or not?

nitely commented 3 years ago

no

hammadarshad1 commented 3 years ago

Can you please explain this to me? so, I can do that.