You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Peter Palaga <pp...@redhat.com> on 2020/06/02 13:16:32 UTC

[Website] yyyy/mm/dd directory scheme for Camel blog?

Hi,

the number of subdirectories in 
https://github.com/apache/camel-website/tree/master/content/blog is 
getting longer and longer. How about switching to yyyy/mm/dd directory 
scheme as usual in other blogging systems? I primarily mean to start 
doing this for new posts from now on.

We can discuss later whether it is worth to restructure the existing 
blog posts somehow (and set redirects of course).

Thanks,

-- P


Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Peter Palaga <pp...@redhat.com>.
On 02/06/2020 17:26, David Jencks wrote:
> A nitpick, but the blog portion of the website is built by hugo.

Ha, good to know, thanks! -- P

> David Jencks
> 
> 
>> On Jun 2, 2020, at 8:21 AM, Peter Palaga <pp...@redhat.com> wrote:
>>
>> I tried it for the Camel Quarkus 1.0.0-CR2 announcement, see https://github.com/apache/camel-website/pull/381
>>
>> I tested it locally, and Antora picked the new page as expected.
>>
>> -- P
>>
>> On 02/06/2020 15:16, Peter Palaga wrote:
>>> Hi,
>>> the number of subdirectories in https://github.com/apache/camel-website/tree/master/content/blog is getting longer and longer. How about switching to yyyy/mm/dd directory scheme as usual in other blogging systems? I primarily mean to start doing this for new posts from now on.
>>> We can discuss later whether it is worth to restructure the existing blog posts somehow (and set redirects of course).
>>> Thanks,
>>> -- P
>>
> 


Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by David Jencks <da...@gmail.com>.
A nitpick, but the blog portion of the website is built by hugo.

David Jencks


> On Jun 2, 2020, at 8:21 AM, Peter Palaga <pp...@redhat.com> wrote:
> 
> I tried it for the Camel Quarkus 1.0.0-CR2 announcement, see https://github.com/apache/camel-website/pull/381
> 
> I tested it locally, and Antora picked the new page as expected.
> 
> -- P
> 
> On 02/06/2020 15:16, Peter Palaga wrote:
>> Hi,
>> the number of subdirectories in https://github.com/apache/camel-website/tree/master/content/blog is getting longer and longer. How about switching to yyyy/mm/dd directory scheme as usual in other blogging systems? I primarily mean to start doing this for new posts from now on.
>> We can discuss later whether it is worth to restructure the existing blog posts somehow (and set redirects of course).
>> Thanks,
>> -- P
> 


Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Peter Palaga <pp...@redhat.com>.
I tried it for the Camel Quarkus 1.0.0-CR2 announcement, see 
https://github.com/apache/camel-website/pull/381

I tested it locally, and Antora picked the new page as expected.

-- P

On 02/06/2020 15:16, Peter Palaga wrote:
> Hi,
> 
> the number of subdirectories in 
> https://github.com/apache/camel-website/tree/master/content/blog is 
> getting longer and longer. How about switching to yyyy/mm/dd directory 
> scheme as usual in other blogging systems? I primarily mean to start 
> doing this for new posts from now on.
> 
> We can discuss later whether it is worth to restructure the existing 
> blog posts somehow (and set redirects of course).
> 
> Thanks,
> 
> -- P


Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Federico Valeri <fe...@gmail.com>.
Right, we also need redirects or better to leave it as it is.
Sorry, I'm not familiar with Hugo.

On Wed, Jun 3, 2020 at 10:35 PM Zoran Regvart <zo...@regvart.com> wrote:
>
> Please don't change the URLs of existing, published blog posts, this
> will lead to broken links from all our announcements and from any
> site/social media/search engine that has linked to them . If for some
> reason you think this really needs to be done, then you also need to
> add redirects to static/.htaccess to make sure user agents redirect
> from the old URLs to the new ones.
>
> These kinds of changes also need to be introduced in a way that future
> blog posts are also done accordingly: we need updated readme, and a
> corresponding configuration change in Hugo[1] to make this consistent.
>
> zoran
>
> [1] https://gohugo.io/content-management/urls/#permalinks-configuration-example
>
> On Wed, Jun 3, 2020 at 6:52 PM Federico Valeri <fe...@gmail.com> wrote:
> >
> > Good idea, fixed all the other posts
> > https://github.com/apache/camel-website/pull/382
> >
> > On Tue, Jun 2, 2020 at 9:58 PM Peter Palaga <pp...@redhat.com> wrote:
> > >
> > > OK, I have changed https://github.com/apache/camel-website/pull/381 to
> > > yyyy/mm. -- P
> > >
> > > On 02/06/2020 17:33, Claus Ibsen wrote:
> > > > Hi
> > > >
> > > > Yeah that is nice to structure as that.
> > > > Maybe YYYY/MM is just enough.
> > > >
> > > >
> > > > On Tue, Jun 2, 2020 at 3:16 PM Peter Palaga <pp...@redhat.com> wrote:
> > > >>
> > > >> Hi,
> > > >>
> > > >> the number of subdirectories in
> > > >> https://github.com/apache/camel-website/tree/master/content/blog is
> > > >> getting longer and longer. How about switching to yyyy/mm/dd directory
> > > >> scheme as usual in other blogging systems? I primarily mean to start
> > > >> doing this for new posts from now on.
> > > >>
> > > >> We can discuss later whether it is worth to restructure the existing
> > > >> blog posts somehow (and set redirects of course).
> > > >>
> > > >> Thanks,
> > > >>
> > > >> -- P
> > > >>
> > > >
> > > >
> > >
>
>
>
> --
> Zoran Regvart

Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Zoran Regvart <zo...@regvart.com>.
Please don't change the URLs of existing, published blog posts, this
will lead to broken links from all our announcements and from any
site/social media/search engine that has linked to them . If for some
reason you think this really needs to be done, then you also need to
add redirects to static/.htaccess to make sure user agents redirect
from the old URLs to the new ones.

These kinds of changes also need to be introduced in a way that future
blog posts are also done accordingly: we need updated readme, and a
corresponding configuration change in Hugo[1] to make this consistent.

zoran

[1] https://gohugo.io/content-management/urls/#permalinks-configuration-example

On Wed, Jun 3, 2020 at 6:52 PM Federico Valeri <fe...@gmail.com> wrote:
>
> Good idea, fixed all the other posts
> https://github.com/apache/camel-website/pull/382
>
> On Tue, Jun 2, 2020 at 9:58 PM Peter Palaga <pp...@redhat.com> wrote:
> >
> > OK, I have changed https://github.com/apache/camel-website/pull/381 to
> > yyyy/mm. -- P
> >
> > On 02/06/2020 17:33, Claus Ibsen wrote:
> > > Hi
> > >
> > > Yeah that is nice to structure as that.
> > > Maybe YYYY/MM is just enough.
> > >
> > >
> > > On Tue, Jun 2, 2020 at 3:16 PM Peter Palaga <pp...@redhat.com> wrote:
> > >>
> > >> Hi,
> > >>
> > >> the number of subdirectories in
> > >> https://github.com/apache/camel-website/tree/master/content/blog is
> > >> getting longer and longer. How about switching to yyyy/mm/dd directory
> > >> scheme as usual in other blogging systems? I primarily mean to start
> > >> doing this for new posts from now on.
> > >>
> > >> We can discuss later whether it is worth to restructure the existing
> > >> blog posts somehow (and set redirects of course).
> > >>
> > >> Thanks,
> > >>
> > >> -- P
> > >>
> > >
> > >
> >



-- 
Zoran Regvart

Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Federico Valeri <fe...@gmail.com>.
Good idea, fixed all the other posts
https://github.com/apache/camel-website/pull/382

On Tue, Jun 2, 2020 at 9:58 PM Peter Palaga <pp...@redhat.com> wrote:
>
> OK, I have changed https://github.com/apache/camel-website/pull/381 to
> yyyy/mm. -- P
>
> On 02/06/2020 17:33, Claus Ibsen wrote:
> > Hi
> >
> > Yeah that is nice to structure as that.
> > Maybe YYYY/MM is just enough.
> >
> >
> > On Tue, Jun 2, 2020 at 3:16 PM Peter Palaga <pp...@redhat.com> wrote:
> >>
> >> Hi,
> >>
> >> the number of subdirectories in
> >> https://github.com/apache/camel-website/tree/master/content/blog is
> >> getting longer and longer. How about switching to yyyy/mm/dd directory
> >> scheme as usual in other blogging systems? I primarily mean to start
> >> doing this for new posts from now on.
> >>
> >> We can discuss later whether it is worth to restructure the existing
> >> blog posts somehow (and set redirects of course).
> >>
> >> Thanks,
> >>
> >> -- P
> >>
> >
> >
>

Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Peter Palaga <pp...@redhat.com>.
OK, I have changed https://github.com/apache/camel-website/pull/381 to 
yyyy/mm. -- P

On 02/06/2020 17:33, Claus Ibsen wrote:
> Hi
> 
> Yeah that is nice to structure as that.
> Maybe YYYY/MM is just enough.
> 
> 
> On Tue, Jun 2, 2020 at 3:16 PM Peter Palaga <pp...@redhat.com> wrote:
>>
>> Hi,
>>
>> the number of subdirectories in
>> https://github.com/apache/camel-website/tree/master/content/blog is
>> getting longer and longer. How about switching to yyyy/mm/dd directory
>> scheme as usual in other blogging systems? I primarily mean to start
>> doing this for new posts from now on.
>>
>> We can discuss later whether it is worth to restructure the existing
>> blog posts somehow (and set redirects of course).
>>
>> Thanks,
>>
>> -- P
>>
> 
> 


Re: [Website] yyyy/mm/dd directory scheme for Camel blog?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah that is nice to structure as that.
Maybe YYYY/MM is just enough.


On Tue, Jun 2, 2020 at 3:16 PM Peter Palaga <pp...@redhat.com> wrote:
>
> Hi,
>
> the number of subdirectories in
> https://github.com/apache/camel-website/tree/master/content/blog is
> getting longer and longer. How about switching to yyyy/mm/dd directory
> scheme as usual in other blogging systems? I primarily mean to start
> doing this for new posts from now on.
>
> We can discuss later whether it is worth to restructure the existing
> blog posts somehow (and set redirects of course).
>
> Thanks,
>
> -- P
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2