Awestruct and extensions for Blogspot?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Awestruct and extensions for Blogspot?

Manik Surtani
I realise that Awestruct has its own blogging "engine" of sorts, but I
currently use Blogspot and I don't intend to move off it if I can help
it.  I imagine I can't be alone here, has anyone written an extension
or helper to grab Blogspot RSS feeds and display them on an Awestruct
page?  If not, any tips on how I could go about writing such an
extension?

Cheers
Manik

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

Emmanuel Bernard
If you mean dynamically display a feed based on a RSS feed, the answer is that you need some kind of JavaScript lib or service that does that for you.

If you are fine with a solution that reads the feed at site generation time, there is nothing tailored but I have [a script][script] approaching that should be easy to convert to read data from an Atom feed. It currently reads a Wordpress export XML file.

[script]: https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import

My guess is that you want to convert this script to read Atom and then convert it to an Awestruct extension instead of a standalone script. The second part should really be trivial.


On 28 mai 2012, at 21:36, Manik Surtani wrote:

> I realise that Awestruct has its own blogging "engine" of sorts, but I
> currently use Blogspot and I don't intend to move off it if I can help
> it.  I imagine I can't be alone here, has anyone written an extension
> or helper to grab Blogspot RSS feeds and display them on an Awestruct
> page?  If not, any tips on how I could go about writing such an
> extension?
>
> Cheers
> Manik
>
> ---------------------------------------------------------------------
> Archives: http://talk-archive.awestruct.org/
> To unsubscribe, e-mail: [hidden email]
>


---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

Manik Surtani
Well, I was more looking for something dynamic (javascript), but
perhaps an Awestruct extension that would configure and embed this
Javascript - a bit like the Google Analytics extension.

This JS library may do the trick ...
http://www.google.com/uds/solutions/dynamicfeed/index.html

On 29 May 2012 09:45, Emmanuel Bernard <[hidden email]> wrote:

> If you mean dynamically display a feed based on a RSS feed, the answer is that you need some kind of JavaScript lib or service that does that for you.
>
> If you are fine with a solution that reads the feed at site generation time, there is nothing tailored but I have [a script][script] approaching that should be easy to convert to read data from an Atom feed. It currently reads a Wordpress export XML file.
>
> [script]: https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import
>
> My guess is that you want to convert this script to read Atom and then convert it to an Awestruct extension instead of a standalone script. The second part should really be trivial.
>
>
> On 28 mai 2012, at 21:36, Manik Surtani wrote:
>
>> I realise that Awestruct has its own blogging "engine" of sorts, but I
>> currently use Blogspot and I don't intend to move off it if I can help
>> it.  I imagine I can't be alone here, has anyone written an extension
>> or helper to grab Blogspot RSS feeds and display them on an Awestruct
>> page?  If not, any tips on how I could go about writing such an
>> extension?
>>
>> Cheers
>> Manik
>>
>> ---------------------------------------------------------------------
>> Archives: http://talk-archive.awestruct.org/
>> To unsubscribe, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> Archives: http://talk-archive.awestruct.org/
> To unsubscribe, e-mail: [hidden email]
>



--
Manik

"In a decaying society, art, if truthful, must also reflect decay." -
Ernst Fischer

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

Emmanuel Bernard
Yep that would be the idiomatic approach.

On 29 mai 2012, at 11:28, Manik Surtani wrote:

> Well, I was more looking for something dynamic (javascript), but
> perhaps an Awestruct extension that would configure and embed this
> Javascript - a bit like the Google Analytics extension.
>
> This JS library may do the trick ...
> http://www.google.com/uds/solutions/dynamicfeed/index.html
>
> On 29 May 2012 09:45, Emmanuel Bernard <[hidden email]> wrote:
>> If you mean dynamically display a feed based on a RSS feed, the answer is that you need some kind of JavaScript lib or service that does that for you.
>>
>> If you are fine with a solution that reads the feed at site generation time, there is nothing tailored but I have [a script][script] approaching that should be easy to convert to read data from an Atom feed. It currently reads a Wordpress export XML file.
>>
>> [script]: https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import
>>
>> My guess is that you want to convert this script to read Atom and then convert it to an Awestruct extension instead of a standalone script. The second part should really be trivial.
>>
>>
>> On 28 mai 2012, at 21:36, Manik Surtani wrote:
>>
>>> I realise that Awestruct has its own blogging "engine" of sorts, but I
>>> currently use Blogspot and I don't intend to move off it if I can help
>>> it.  I imagine I can't be alone here, has anyone written an extension
>>> or helper to grab Blogspot RSS feeds and display them on an Awestruct
>>> page?  If not, any tips on how I could go about writing such an
>>> extension?
>>>
>>> Cheers
>>> Manik
>>>
>>> ---------------------------------------------------------------------
>>> Archives: http://talk-archive.awestruct.org/
>>> To unsubscribe, e-mail: [hidden email]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> Archives: http://talk-archive.awestruct.org/
>> To unsubscribe, e-mail: [hidden email]
>>
>
>
>
> --
> Manik
>
> "In a decaying society, art, if truthful, must also reflect decay." -
> Ernst Fischer
>
> ---------------------------------------------------------------------
> Archives: http://talk-archive.awestruct.org/
> To unsubscribe, e-mail: [hidden email]
>


---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

mojavelinux
In reply to this post by Manik Surtani
I also recommend looking at jQuery-jGFeed + jsView + jsRender. I combined them into a file called siphon.js, because that's basically what it does, siphon data from the internet :)

https://github.com/arquillian/arquillian.github.com/blob/develop/javascripts/siphon-20120407.js

Here's an example of how it works:

http://arquillian.org/invasion/press/  (view the source)

You basically create a template inside of a <script> tag using a syntax that sort of resembles handlebars. Then you use siphon to pull from the RSS feed and pump the data into the template. It's a pretty sexy way of doing client-side rendering.

Here's more demos of jsView + jsRender to give you a better idea of how it works.

http://borismoore.github.com/jsrender/demos/demos.html

And the source:

https://github.com/BorisMoore/jsrender

-Dan

On Tue, May 29, 2012 at 5:28 AM, Manik Surtani <[hidden email]> wrote:
Well, I was more looking for something dynamic (javascript), but
perhaps an Awestruct extension that would configure and embed this
Javascript - a bit like the Google Analytics extension.

This JS library may do the trick ...
http://www.google.com/uds/solutions/dynamicfeed/index.html

On 29 May 2012 09:45, Emmanuel Bernard <[hidden email]> wrote:
> If you mean dynamically display a feed based on a RSS feed, the answer is that you need some kind of JavaScript lib or service that does that for you.
>
> If you are fine with a solution that reads the feed at site generation time, there is nothing tailored but I have [a script][script] approaching that should be easy to convert to read data from an Atom feed. It currently reads a Wordpress export XML file.
>
> [script]: https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import
>
> My guess is that you want to convert this script to read Atom and then convert it to an Awestruct extension instead of a standalone script. The second part should really be trivial.
>
>
> On 28 mai 2012, at 21:36, Manik Surtani wrote:
>
>> I realise that Awestruct has its own blogging "engine" of sorts, but I
>> currently use Blogspot and I don't intend to move off it if I can help
>> it.  I imagine I can't be alone here, has anyone written an extension
>> or helper to grab Blogspot RSS feeds and display them on an Awestruct
>> page?  If not, any tips on how I could go about writing such an
>> extension?
>>
>> Cheers
>> Manik
>>
>> ---------------------------------------------------------------------
>> Archives: http://talk-archive.awestruct.org/
>> To unsubscribe, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> Archives: http://talk-archive.awestruct.org/
> To unsubscribe, e-mail: [hidden email]
>



--
Manik

"In a decaying society, art, if truthful, must also reflect decay." -
Ernst Fischer

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]




--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597


Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

Manik Surtani
Interesting.  I basically hacked in Google's Dynamic Feed Control -
http://www.google.com/uds/solutions/dynamicfeed/index.html - as well
as a hacked up .js file from GitHub to render the "latest release"
info.  Here's a pre-skinned, pre-css'd version of the upcoming site.
It's just a copy of the old content and layout to experiment with the
various client-side pieces to pull in blog entries, twitter feed, and
latest release info.

http://stg-ispn.rhcloud.com/

On 30 May 2012 09:28, Dan Allen <[hidden email]> wrote:

> I also recommend looking at jQuery-jGFeed + jsView + jsRender. I combined
> them into a file called siphon.js, because that's basically what it does,
> siphon data from the internet :)
>
> https://github.com/arquillian/arquillian.github.com/blob/develop/javascripts/siphon-20120407.js
>
> Here's an example of how it works:
>
> http://arquillian.org/invasion/press/  (view the source)
>
> You basically create a template inside of a <script> tag using a syntax that
> sort of resembles handlebars. Then you use siphon to pull from the RSS feed
> and pump the data into the template. It's a pretty sexy way of doing
> client-side rendering.
>
> Here's more demos of jsView + jsRender to give you a better idea of how it
> works.
>
> http://borismoore.github.com/jsrender/demos/demos.html
>
> And the source:
>
> https://github.com/BorisMoore/jsrender
>
> -Dan
>
>
> On Tue, May 29, 2012 at 5:28 AM, Manik Surtani <[hidden email]> wrote:
>>
>> Well, I was more looking for something dynamic (javascript), but
>> perhaps an Awestruct extension that would configure and embed this
>> Javascript - a bit like the Google Analytics extension.
>>
>> This JS library may do the trick ...
>> http://www.google.com/uds/solutions/dynamicfeed/index.html
>>
>> On 29 May 2012 09:45, Emmanuel Bernard <[hidden email]> wrote:
>> > If you mean dynamically display a feed based on a RSS feed, the answer
>> > is that you need some kind of JavaScript lib or service that does that for
>> > you.
>> >
>> > If you are fine with a solution that reads the feed at site generation
>> > time, there is nothing tailored but I have [a script][script] approaching
>> > that should be easy to convert to read data from an Atom feed. It currently
>> > reads a Wordpress export XML file.
>> >
>> > [script]:
>> > https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import
>> >
>> > My guess is that you want to convert this script to read Atom and then
>> > convert it to an Awestruct extension instead of a standalone script. The
>> > second part should really be trivial.
>> >
>> >
>> > On 28 mai 2012, at 21:36, Manik Surtani wrote:
>> >
>> >> I realise that Awestruct has its own blogging "engine" of sorts, but I
>> >> currently use Blogspot and I don't intend to move off it if I can help
>> >> it.  I imagine I can't be alone here, has anyone written an extension
>> >> or helper to grab Blogspot RSS feeds and display them on an Awestruct
>> >> page?  If not, any tips on how I could go about writing such an
>> >> extension?
>> >>
>> >> Cheers
>> >> Manik
>> >>
>> >> ---------------------------------------------------------------------
>> >> Archives: http://talk-archive.awestruct.org/
>> >> To unsubscribe, e-mail: [hidden email]
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > Archives: http://talk-archive.awestruct.org/
>> > To unsubscribe, e-mail: [hidden email]
>> >
>>
>>
>>
>> --
>> Manik
>>
>> "In a decaying society, art, if truthful, must also reflect decay." -
>> Ernst Fischer
>>
>> ---------------------------------------------------------------------
>> Archives: http://talk-archive.awestruct.org/
>> To unsubscribe, e-mail: [hidden email]
>>
>
>
>
> --
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://google.com/profiles/dan.j.allen
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>



--
Manik

"In a decaying society, art, if truthful, must also reflect decay." -
Ernst Fischer

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

mojavelinux
Looking good man. Welcome to the rebellion :)

-Dan

On Wed, May 30, 2012 at 5:50 AM, Manik Surtani <[hidden email]> wrote:
Interesting.  I basically hacked in Google's Dynamic Feed Control -
http://www.google.com/uds/solutions/dynamicfeed/index.html - as well
as a hacked up .js file from GitHub to render the "latest release"
info.  Here's a pre-skinned, pre-css'd version of the upcoming site.
It's just a copy of the old content and layout to experiment with the
various client-side pieces to pull in blog entries, twitter feed, and
latest release info.

http://stg-ispn.rhcloud.com/

On 30 May 2012 09:28, Dan Allen <[hidden email]> wrote:
> I also recommend looking at jQuery-jGFeed + jsView + jsRender. I combined
> them into a file called siphon.js, because that's basically what it does,
> siphon data from the internet :)
>
> https://github.com/arquillian/arquillian.github.com/blob/develop/javascripts/siphon-20120407.js
>
> Here's an example of how it works:
>
> http://arquillian.org/invasion/press/  (view the source)
>
> You basically create a template inside of a <script> tag using a syntax that
> sort of resembles handlebars. Then you use siphon to pull from the RSS feed
> and pump the data into the template. It's a pretty sexy way of doing
> client-side rendering.
>
> Here's more demos of jsView + jsRender to give you a better idea of how it
> works.
>
> http://borismoore.github.com/jsrender/demos/demos.html
>
> And the source:
>
> https://github.com/BorisMoore/jsrender
>
> -Dan
>
>
> On Tue, May 29, 2012 at 5:28 AM, Manik Surtani <[hidden email]> wrote:
>>
>> Well, I was more looking for something dynamic (javascript), but
>> perhaps an Awestruct extension that would configure and embed this
>> Javascript - a bit like the Google Analytics extension.
>>
>> This JS library may do the trick ...
>> http://www.google.com/uds/solutions/dynamicfeed/index.html
>>
>> On 29 May 2012 09:45, Emmanuel Bernard <[hidden email]> wrote:
>> > If you mean dynamically display a feed based on a RSS feed, the answer
>> > is that you need some kind of JavaScript lib or service that does that for
>> > you.
>> >
>> > If you are fine with a solution that reads the feed at site generation
>> > time, there is nothing tailored but I have [a script][script] approaching
>> > that should be easy to convert to read data from an Atom feed. It currently
>> > reads a Wordpress export XML file.
>> >
>> > [script]:
>> > https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import
>> >
>> > My guess is that you want to convert this script to read Atom and then
>> > convert it to an Awestruct extension instead of a standalone script. The
>> > second part should really be trivial.
>> >
>> >
>> > On 28 mai 2012, at 21:36, Manik Surtani wrote:
>> >
>> >> I realise that Awestruct has its own blogging "engine" of sorts, but I
>> >> currently use Blogspot and I don't intend to move off it if I can help
>> >> it.  I imagine I can't be alone here, has anyone written an extension
>> >> or helper to grab Blogspot RSS feeds and display them on an Awestruct
>> >> page?  If not, any tips on how I could go about writing such an
>> >> extension?
>> >>
>> >> Cheers
>> >> Manik
>> >>
>> >> ---------------------------------------------------------------------
>> >> Archives: http://talk-archive.awestruct.org/
>> >> To unsubscribe, e-mail: [hidden email]
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > Archives: http://talk-archive.awestruct.org/
>> > To unsubscribe, e-mail: [hidden email]
>> >
>>
>>
>>
>> --
>> Manik
>>
>> "In a decaying society, art, if truthful, must also reflect decay." -
>> Ernst Fischer
>>
>> ---------------------------------------------------------------------
>> Archives: http://talk-archive.awestruct.org/
>> To unsubscribe, e-mail: [hidden email]
>>
>
>
>
> --
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://google.com/profiles/dan.j.allen
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>



--
Manik

"In a decaying society, art, if truthful, must also reflect decay." -
Ernst Fischer

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]




--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597


Reply | Threaded
Open this post in threaded view
|

Re: Awestruct and extensions for Blogspot?

Emmanuel Bernard
"He will join us or die, my master."

On 30 mai 2012, at 17:37, Dan Allen wrote:

Looking good man. Welcome to the rebellion :)

-Dan

On Wed, May 30, 2012 at 5:50 AM, Manik Surtani <[hidden email]> wrote:
Interesting.  I basically hacked in Google's Dynamic Feed Control -
http://www.google.com/uds/solutions/dynamicfeed/index.html - as well
as a hacked up .js file from GitHub to render the "latest release"
info.  Here's a pre-skinned, pre-css'd version of the upcoming site.
It's just a copy of the old content and layout to experiment with the
various client-side pieces to pull in blog entries, twitter feed, and
latest release info.

http://stg-ispn.rhcloud.com/

On 30 May 2012 09:28, Dan Allen <[hidden email]> wrote:
> I also recommend looking at jQuery-jGFeed + jsView + jsRender. I combined
> them into a file called siphon.js, because that's basically what it does,
> siphon data from the internet :)
>
> https://github.com/arquillian/arquillian.github.com/blob/develop/javascripts/siphon-20120407.js
>
> Here's an example of how it works:
>
> http://arquillian.org/invasion/press/  (view the source)
>
> You basically create a template inside of a <script> tag using a syntax that
> sort of resembles handlebars. Then you use siphon to pull from the RSS feed
> and pump the data into the template. It's a pretty sexy way of doing
> client-side rendering.
>
> Here's more demos of jsView + jsRender to give you a better idea of how it
> works.
>
> http://borismoore.github.com/jsrender/demos/demos.html
>
> And the source:
>
> https://github.com/BorisMoore/jsrender
>
> -Dan
>
>
> On Tue, May 29, 2012 at 5:28 AM, Manik Surtani <[hidden email]> wrote:
>>
>> Well, I was more looking for something dynamic (javascript), but
>> perhaps an Awestruct extension that would configure and embed this
>> Javascript - a bit like the Google Analytics extension.
>>
>> This JS library may do the trick ...
>> http://www.google.com/uds/solutions/dynamicfeed/index.html
>>
>> On 29 May 2012 09:45, Emmanuel Bernard <[hidden email]> wrote:
>> > If you mean dynamically display a feed based on a RSS feed, the answer
>> > is that you need some kind of JavaScript lib or service that does that for
>> > you.
>> >
>> > If you are fine with a solution that reads the feed at site generation
>> > time, there is nothing tailored but I have [a script][script] approaching
>> > that should be easy to convert to read data from an Atom feed. It currently
>> > reads a Wordpress export XML file.
>> >
>> > [script]:
>> > https://github.com/emmanuelbernard/emmanuelbernard.com/blob/master/_bin/import
>> >
>> > My guess is that you want to convert this script to read Atom and then
>> > convert it to an Awestruct extension instead of a standalone script. The
>> > second part should really be trivial.
>> >
>> >
>> > On 28 mai 2012, at 21:36, Manik Surtani wrote:
>> >
>> >> I realise that Awestruct has its own blogging "engine" of sorts, but I
>> >> currently use Blogspot and I don't intend to move off it if I can help
>> >> it.  I imagine I can't be alone here, has anyone written an extension
>> >> or helper to grab Blogspot RSS feeds and display them on an Awestruct
>> >> page?  If not, any tips on how I could go about writing such an
>> >> extension?
>> >>
>> >> Cheers
>> >> Manik
>> >>
>> >> ---------------------------------------------------------------------
>> >> Archives: http://talk-archive.awestruct.org/
>> >> To unsubscribe, e-mail: [hidden email]
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > Archives: http://talk-archive.awestruct.org/
>> > To unsubscribe, e-mail: [hidden email]
>> >
>>
>>
>>
>> --
>> Manik
>>
>> "In a decaying society, art, if truthful, must also reflect decay." -
>> Ernst Fischer
>>
>> ---------------------------------------------------------------------
>> Archives: http://talk-archive.awestruct.org/
>> To unsubscribe, e-mail: [hidden email]
>>
>
>
>
> --
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://google.com/profiles/dan.j.allen
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>



--
Manik

"In a decaying society, art, if truthful, must also reflect decay." -
Ernst Fischer

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]




--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597