EmbedNotice

I started working on a simple StatusNet plugin tonight that adds an icon to each notice. Clicking the icon allows visitors to get the necessary HTML to embed a notice on a webpage.

The code is on Github but I pretty much just started and not it's very polished. You have been warned ;)

Here's the extra icon on the timeline:

Timeline

Timeline

Here's the dialog with the HTML code to copy/paste:

Dialog

Dialog

Here's the result when pasted on this blog:

huh? It's only 21:00? Time for !coffee

Later!

8 Responses to “EmbedNotice”

  1. jpope says:

    @chimo Ohh, good one. This should go in the default StatusNet install once you’ve got it done. Great idea. :)

  2. postblue says:

    I like it. Nice work, buddy !

  3. jpope says:

    I know this is still a work in progress but, I have noticed that if you go to the direct page for a notice ( i.e http://url.jpope.org/xx ), it doesn’t work currently.

    I did just enable this plugin on my so I could embed a couple notices in my last blog post. Worked great. :)

  4. Awesome! I love it. Especially the fact that one doesn't link in a javascript snippet or some bullshit like that. Real, hard copying for the win!

    • chimo says:

      :)

      The first goal was "standalone", so no external JS/CSS dependency.
      The 2nd goal was "easy", so no "upload this JS/CSS file to your server" crap.
      Hence the HTML + inline styles approach.

      Thanks for the comment!

Leave a Reply