|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
qq:python generator for GeoRSS?Hey there--
Anyone got a recommendation on a python lib for generating GeoRSS? I'll do my own one if there's not one out there, but figured I'd ask first. (This is for AppEngine, by the way). - pamela _______________________________________________ georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
|
|
Re: qq:python generator for GeoRSS?> Hey there--
> > Anyone got a recommendation on a python lib for generating GeoRSS? > I'll do my own one if there's not one out there, but figured I'd ask > first. > GeoRSS is just more angle brackets, so all libs are pretty much the same. It's probably not worth copying the 5 lines of coordinate tuple wrangling code from my zgeo.atom project. > (This is for AppEngine, by the way). > > - pamela No lxml then. Sean _______________________________________________ georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
|
|
Re: qq:python generator for GeoRSS?Thanks for the response, i'll do it ghetto style.
On Mon, Sep 29, 2008 at 10:44 PM, <sgillies@...> wrote: >> Hey there-- >> >> Anyone got a recommendation on a python lib for generating GeoRSS? >> I'll do my own one if there's not one out there, but figured I'd ask >> first. >> > > GeoRSS is just more angle brackets, so all libs are pretty much the same. > It's probably not worth copying the 5 lines of coordinate tuple wrangling > code from my zgeo.atom project. > >> (This is for AppEngine, by the way). >> >> - pamela > > No lxml then. > > Sean > > > _______________________________________________ > georss mailing list > georss@... > http://lists.eogeo.org/mailman/listinfo/georss > georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
|
|
Re: qq:python generator for GeoRSS?I wouldn't call it "ghetto". :) It seems silly to have a tool that is
specific to a simple extension to a larger format. I feel that this is particularly unclear to the broader base potential developers or "users". That GeoRSS isn't a unique format but just a simple addition to an existing format developers already probably support. I've actually had a developer respond to the question about "why don't you add GeoRSS" with something like "We currently support RSS and don't want to add another unique format" On Sep 30, 2008, at 10:41 PM, pamela fox wrote: > Thanks for the response, i'll do it ghetto style. > > On Mon, Sep 29, 2008 at 10:44 PM, <sgillies@...> wrote: >>> Hey there-- >>> >>> Anyone got a recommendation on a python lib for generating GeoRSS? >>> I'll do my own one if there's not one out there, but figured I'd ask >>> first. >>> >> >> GeoRSS is just more angle brackets, so all libs are pretty much the >> same. >> It's probably not worth copying the 5 lines of coordinate tuple >> wrangling >> code from my zgeo.atom project. >> >>> (This is for AppEngine, by the way). >>> >>> - pamela >> >> No lxml then. >> >> Sean >> >> >> _______________________________________________ >> georss mailing list >> georss@... >> http://lists.eogeo.org/mailman/listinfo/georss >> > _______________________________________________ > georss mailing list > georss@... > http://lists.eogeo.org/mailman/listinfo/georss -- Andrew Turner mobile: 248.982.3609 andrew@... http://highearthorbit.com http://mapufacture.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography _______________________________________________ georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
|
|
Re: qq:python generator for GeoRSS?Sorry, should have been more clear. I wasn't currently outputting any
atom or rss, so actually atom/rss generators with georss support built in was more what I was looking for. I ended up using django templates + template vars to create the feed, only took a few minutes and is actually kind of clean looking. I do think that on the parsing side, it actually is useful to have libraries with georss hooks built in, particularly considering the multiple styles of GeoRSS and also the different way languages deal with xml-with-namespace parsing. Ill admit to spending non-trivial amounts of time doing georss parsers in various langs (most recently while learning AS3 E4X style parsing at same time). On 10/1/08, Andrew Turner <ajturner@...> wrote: > I wouldn't call it "ghetto". :) It seems silly to have a tool that is > specific to a simple extension to a larger format. > > I feel that this is particularly unclear to the broader base potential > developers or "users". That GeoRSS isn't a unique format but just a > simple addition to an existing format developers already probably > support. I've actually had a developer respond to the question about > "why don't you add GeoRSS" with something like "We currently support > RSS and don't want to add another unique format" > > > > > On Sep 30, 2008, at 10:41 PM, pamela fox wrote: > >> Thanks for the response, i'll do it ghetto style. >> >> On Mon, Sep 29, 2008 at 10:44 PM, <sgillies@...> wrote: >>>> Hey there-- >>>> >>>> Anyone got a recommendation on a python lib for generating GeoRSS? >>>> I'll do my own one if there's not one out there, but figured I'd ask >>>> first. >>>> >>> >>> GeoRSS is just more angle brackets, so all libs are pretty much the >>> same. >>> It's probably not worth copying the 5 lines of coordinate tuple >>> wrangling >>> code from my zgeo.atom project. >>> >>>> (This is for AppEngine, by the way). >>>> >>>> - pamela >>> >>> No lxml then. >>> >>> Sean >>> >>> >>> _______________________________________________ >>> georss mailing list >>> georss@... >>> http://lists.eogeo.org/mailman/listinfo/georss >>> >> _______________________________________________ >> georss mailing list >> georss@... >> http://lists.eogeo.org/mailman/listinfo/georss > > -- > Andrew Turner > mobile: 248.982.3609 > andrew@... > http://highearthorbit.com > > http://mapufacture.com Helping build the Geospatial Web > Introduction to Neogeography - http://oreilly.com/catalog/neogeography > > georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
|
|
Re: qq:python generator for GeoRSS?Yeah, production of a feed document with GeoRSS elements almost has to be
done specifically for a framework. I'm using Zope page templates. On the parsing front -- I made a nice patch for the universal feedparser last year that is complete and (if I may say so) nicely designed. You get back the Python dict that is more or less equivalent to GeoJSON. http://sgillies.net/blog/566/georss-patch-for-universal-feedparser/ No action on the ticket. Pilgrim must be spending his 20% free time on more interesting things. > Sorry, should have been more clear. I wasn't currently outputting any > atom or rss, so actually atom/rss generators with georss support built > in was more what I was looking for. > I ended up using django templates + template vars to create the feed, > only took a few minutes and is actually kind of clean looking. > > I do think that on the parsing side, it actually is useful to have > libraries with georss hooks built in, particularly considering the > multiple styles of GeoRSS and also the different way languages deal > with xml-with-namespace parsing. Ill admit to spending non-trivial > amounts of time doing georss parsers in various langs (most recently > while learning AS3 E4X style parsing at same time). > > > On 10/1/08, Andrew Turner <ajturner@...> wrote: >> I wouldn't call it "ghetto". :) It seems silly to have a tool that is >> specific to a simple extension to a larger format. >> >> I feel that this is particularly unclear to the broader base potential >> developers or "users". That GeoRSS isn't a unique format but just a >> simple addition to an existing format developers already probably >> support. I've actually had a developer respond to the question about >> "why don't you add GeoRSS" with something like "We currently support >> RSS and don't want to add another unique format" >> >> >> >> >> On Sep 30, 2008, at 10:41 PM, pamela fox wrote: >> >>> Thanks for the response, i'll do it ghetto style. >>> >>> On Mon, Sep 29, 2008 at 10:44 PM, <sgillies@...> wrote: >>>>> Hey there-- >>>>> >>>>> Anyone got a recommendation on a python lib for generating GeoRSS? >>>>> I'll do my own one if there's not one out there, but figured I'd ask >>>>> first. >>>>> >>>> >>>> GeoRSS is just more angle brackets, so all libs are pretty much the >>>> same. >>>> It's probably not worth copying the 5 lines of coordinate tuple >>>> wrangling >>>> code from my zgeo.atom project. >>>> >>>>> (This is for AppEngine, by the way). >>>>> >>>>> - pamela >>>> >>>> No lxml then. >>>> >>>> Sean >>>> >>>> >>>> _______________________________________________ >>>> georss mailing list >>>> georss@... >>>> http://lists.eogeo.org/mailman/listinfo/georss >>>> >>> _______________________________________________ >>> georss mailing list >>> georss@... >>> http://lists.eogeo.org/mailman/listinfo/georss >> >> -- >> Andrew Turner >> mobile: 248.982.3609 >> andrew@... >> http://highearthorbit.com >> >> http://mapufacture.com Helping build the Geospatial Web >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography >> >> > _______________________________________________ georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
|
|
Re: qq:python generator for GeoRSS?Nice-- thanks! I didn't know about the feedparser project. I'll try
that out sometime. On Wed, Oct 1, 2008 at 4:50 AM, <sgillies@...> wrote: > Yeah, production of a feed document with GeoRSS elements almost has to be > done specifically for a framework. I'm using Zope page templates. On the > parsing front -- I made a nice patch for the universal feedparser last > year that is complete and (if I may say so) nicely designed. You get back > the Python dict that is more or less equivalent to GeoJSON. > > http://sgillies.net/blog/566/georss-patch-for-universal-feedparser/ > > No action on the ticket. Pilgrim must be spending his 20% free time on > more interesting things. > >> Sorry, should have been more clear. I wasn't currently outputting any >> atom or rss, so actually atom/rss generators with georss support built >> in was more what I was looking for. >> I ended up using django templates + template vars to create the feed, >> only took a few minutes and is actually kind of clean looking. >> >> I do think that on the parsing side, it actually is useful to have >> libraries with georss hooks built in, particularly considering the >> multiple styles of GeoRSS and also the different way languages deal >> with xml-with-namespace parsing. Ill admit to spending non-trivial >> amounts of time doing georss parsers in various langs (most recently >> while learning AS3 E4X style parsing at same time). >> >> >> On 10/1/08, Andrew Turner <ajturner@...> wrote: >>> I wouldn't call it "ghetto". :) It seems silly to have a tool that is >>> specific to a simple extension to a larger format. >>> >>> I feel that this is particularly unclear to the broader base potential >>> developers or "users". That GeoRSS isn't a unique format but just a >>> simple addition to an existing format developers already probably >>> support. I've actually had a developer respond to the question about >>> "why don't you add GeoRSS" with something like "We currently support >>> RSS and don't want to add another unique format" >>> >>> >>> >>> >>> On Sep 30, 2008, at 10:41 PM, pamela fox wrote: >>> >>>> Thanks for the response, i'll do it ghetto style. >>>> >>>> On Mon, Sep 29, 2008 at 10:44 PM, <sgillies@...> wrote: >>>>>> Hey there-- >>>>>> >>>>>> Anyone got a recommendation on a python lib for generating GeoRSS? >>>>>> I'll do my own one if there's not one out there, but figured I'd ask >>>>>> first. >>>>>> >>>>> >>>>> GeoRSS is just more angle brackets, so all libs are pretty much the >>>>> same. >>>>> It's probably not worth copying the 5 lines of coordinate tuple >>>>> wrangling >>>>> code from my zgeo.atom project. >>>>> >>>>>> (This is for AppEngine, by the way). >>>>>> >>>>>> - pamela >>>>> >>>>> No lxml then. >>>>> >>>>> Sean >>>>> >>>>> >>>>> _______________________________________________ >>>>> georss mailing list >>>>> georss@... >>>>> http://lists.eogeo.org/mailman/listinfo/georss >>>>> >>>> _______________________________________________ >>>> georss mailing list >>>> georss@... >>>> http://lists.eogeo.org/mailman/listinfo/georss >>> >>> -- >>> Andrew Turner >>> mobile: 248.982.3609 >>> andrew@... >>> http://highearthorbit.com >>> >>> http://mapufacture.com Helping build the Geospatial Web >>> Introduction to Neogeography - http://oreilly.com/catalog/neogeography >>> >>> >> > > > _______________________________________________ > georss mailing list > georss@... > http://lists.eogeo.org/mailman/listinfo/georss > georss mailing list georss@... http://lists.eogeo.org/mailman/listinfo/georss |
| Free embeddable forum powered by Nabble | Forum Help |