Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-27 Thread Tobias Boege
On Tue, 18 Apr 2017, Benoît Minisini wrote: > Le 18/04/2017 à 19:52, Benoît Minisini a écrit : > > Le 18/04/2017 à 19:44, Tobias Boege a écrit : > >> On Sun, 16 Apr 2017, Benoît Minisini wrote: > >>> Le 02/04/2017 à 18:07, Tobias Boege a écrit : > > * The date conversion routines

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-18 Thread Benoît Minisini
Le 18/04/2017 à 19:52, Benoît Minisini a écrit : > Le 18/04/2017 à 19:44, Tobias Boege a écrit : >> On Sun, 16 Apr 2017, Benoît Minisini wrote: >>> Le 02/04/2017 à 18:07, Tobias Boege a écrit : * The date conversion routines ignore timezones completely, because I have no clue

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-18 Thread Benoît Minisini
I have took a look at your code. Just a general remark: the name of the exported function arguments should help the user to guess what it means. So, for example: Static Public Function FormatDate(Dat As Date) As String should be: Static Public Function FormatDate({Date} As Date) As String

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-18 Thread Tobias Boege
On Tue, 18 Apr 2017, Benoît Minisini wrote: > > About the incorporation of timezones in gb.web.feed (the last thing before > > I mark the component as "Unfinished but stable"), my plan is to replace the > > Date variables in the Rss* classes by an RssDate compound, consisting of a > > normalised

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-18 Thread Benoît Minisini
Le 18/04/2017 à 19:44, Tobias Boege a écrit : > On Sun, 16 Apr 2017, Benoît Minisini wrote: >> Le 02/04/2017 à 18:07, Tobias Boege a écrit : >>> >>> * The date conversion routines ignore timezones completely, because >>> I have no clue about working with timezones in Gambas. >>> >> >> Hi,

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-18 Thread Tobias Boege
On Sun, 16 Apr 2017, Benoît Minisini wrote: > Le 02/04/2017 à 18:07, Tobias Boege a écrit : > > > > * The date conversion routines ignore timezones completely, because > > I have no clue about working with timezones in Gambas. > > > > Hi, Tobias. > > I have added in revision #8122 two

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-16 Thread Benoît Minisini
Le 02/04/2017 à 18:07, Tobias Boege a écrit : > > * The date conversion routines ignore timezones completely, because > I have no clue about working with timezones in Gambas. > Hi, Tobias. I have added in revision #8122 two functions to the gb.util component: Date.ToRFC822(), to convert a

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-11 Thread Benoît Minisini
Le 11/04/2017 à 15:28, Tobias Boege a écrit : >> >> Mmm... 'gb.web.syndication' so ? >> > > Reading a little, it seems that syndication is more of a specific practice > which makes use of syndication formats like RSS and Atom. To be honest I > haven't heard the term syndication in that context

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-11 Thread Tobias Boege
On Tue, 11 Apr 2017, Benoît Minisini wrote: > Le 11/04/2017 à 12:53, Tobias Boege a écrit : > > On Sun, 02 Apr 2017, Tobias Boege wrote: > >> Hello all, > >> > >> I wrote an RSS feed generator for one of my projects recently and could > >> luckily complete also the parser before the new semester

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-11 Thread Benoît Minisini
Le 11/04/2017 à 12:53, Tobias Boege a écrit : > On Sun, 02 Apr 2017, Tobias Boege wrote: >> Hello all, >> >> I wrote an RSS feed generator for one of my projects recently and could >> luckily complete also the parser before the new semester starts tomorrow. >> So you get a gb.rss component in the

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-11 Thread Tobias Boege
On Sun, 02 Apr 2017, Tobias Boege wrote: > Hello all, > > I wrote an RSS feed generator for one of my projects recently and could > luckily complete also the parser before the new semester starts tomorrow. > So you get a gb.rss component in the latest revision #8117. > @Benoit: I'm currently

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-05 Thread Adrien Prokopowicz
Le Sun, 02 Apr 2017 18:07:26 +0200, Tobias Boege a écrit: > Hello all, > > I wrote an RSS feed generator for one of my projects recently and could > luckily complete also the parser before the new semester starts tomorrow. > So you get a gb.rss component in the latest

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread d4t4full
Got it. Thanks Benoît. On Apr 2, 2017, 20:51, at 20:51, "Benoît Minisini" wrote: >Le 03/04/2017 à 00:48, d4t4f...@gmail.com a écrit : >> I do not see the need to "force" developers needing timezone handling >> functionality to add a reference to gb.util.web;

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread Benoît Minisini
Le 03/04/2017 à 00:48, d4t4f...@gmail.com a écrit : > I do not see the need to "force" developers needing timezone handling > functionality to add a reference to gb.util.web; expecting to have > timezone capability in a web component is simply not intuitive. > > Couldn't the timezone be a new

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread d4t4full
I do not see the need to "force" developers needing timezone handling  functionality to add a reference to gb.util.web; expecting to have timezone capability in a web component is simply not intuitive. Couldn't the timezone be a new property of the Date type/object, defaulting to the System's

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread Benoît Minisini
Le 02/04/2017 à 22:34, Tobias Boege a écrit : > On Sun, 02 Apr 2017, Benoît Minisini wrote: >> Le 02/04/2017 à 18:07, Tobias Boege a écrit : >>> Hello all, >>> >>> I wrote an RSS feed generator for one of my projects recently and could >>> luckily complete also the parser before the new semester

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread Tobias Boege
On Sun, 02 Apr 2017, Benoît Minisini wrote: > Le 02/04/2017 à 18:07, Tobias Boege a écrit : > > Hello all, > > > > I wrote an RSS feed generator for one of my projects recently and could > > luckily complete also the parser before the new semester starts tomorrow. > > So you get a gb.rss component

Re: [Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread Benoît Minisini
Le 02/04/2017 à 18:07, Tobias Boege a écrit : > Hello all, > > I wrote an RSS feed generator for one of my projects recently and could > luckily complete also the parser before the new semester starts tomorrow. > So you get a gb.rss component in the latest revision #8117. > > It should support all

[Gambas-user] New component gb.rss to generate and parse RSS documents

2017-04-02 Thread Tobias Boege
Hello all, I wrote an RSS feed generator for one of my projects recently and could luckily complete also the parser before the new semester starts tomorrow. So you get a gb.rss component in the latest revision #8117. It should support all the things that are mentioned in the RSS 2.0