On 27-Jul-09, at 10:20 AM, Gaurav Wasan wrote:
I was trying to add thumbnail support to the hyperlinks posted in
notices.
I agree that laconica supports oembed, but its limited to a
handfull of websites.
...
But there they generate a small code,
something like this
<script type="text/javascript" src="http://shots.snap.com/ss/
12546654f406afd5a0883732fd38/snap_shots.js"></script>
which I need to paste before the closing </body> tag.
Now, in laconica, where shall I paste it ?
It is generally recommended to try adding features using a plugin
(http://laconi.ca/trac/wiki/Plugins).
You could use the EndShowFooter event to put it somewhere near the end.
With a plugin, anyone could choose to use SnapShot or not on their
instance, and it's much easier to maintain._______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev