Patch for new ContentDecorator

View: New views
2 Messages — Rating Filter:   Alert me  

Patch for new ContentDecorator

by Mike Bremford-2 :: Rate this Message:

| View Threaded | Show Only this Message

HI All

Please find attached a patch for a new ContentDecorator which allows
you to add a user-configurable suffix to every blog post. We're using
this to automatically add stuff like the SyntaxHighlighter scripts, a
link to twitter and so on. You can include the blog title, author,
permalink etc. in the HTML as described in the plugin description, so
it could be used as a configurable replacement for the
SocialBookmarkDecorator.

Patch applies against 2.6.2, hope it proves useful. Any questions
please contact me on mike at bfo dot com (as I'm not normally
subscribed to this list).

Cheers... Mike


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

patch.gz (3K) Download Attachment

Re: Patch for new ContentDecorator

by James Roper-6 :: Rate this Message:

| View Threaded | Show Only this Message

Thanks for this Mike, I've applied the patch to the 2.6-stable branch
as well as trunk. I also added your name to the contributors list
(which will be updated on the website next time I release pebble).

Cheers,

James

On 10 November 2011 17:35, Mike Bremford <mike@...> wrote:

> HI All
>
> Please find attached a patch for a new ContentDecorator which allows
> you to add a user-configurable suffix to every blog post. We're using
> this to automatically add stuff like the SyntaxHighlighter scripts, a
> link to twitter and so on. You can include the blog title, author,
> permalink etc. in the HTML as described in the plugin description, so
> it could be used as a configurable replacement for the
> SocialBookmarkDecorator.
>
> Patch applies against 2.6.2, hope it proves useful. Any questions
> please contact me on mike at bfo dot com (as I'm not normally
> subscribed to this list).
>
> Cheers... Mike
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user