Обсуждение: New blog - who dis?

Поиск
Список
Период
Сортировка

New blog - who dis?

От
"Andreas 'ads' Scherbaum"
Дата:

Hello,

I plan to migrate my blog to a new software platform, which
will also change the URLs which appear in the RSS feed. There
is no convenient way to keep the old URLs in place.

Most importantly, this will affect Planet PostgreSQL, which
suddenly might see about 150 "new" blog postings.

Is there a recommended way how to deal with such a move?

Did someone do such a move before, what is your experience?


Thanks,

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

Re: New blog - who dis?

От
Alvaro Herrera
Дата:
Hello,

On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:

> I plan to migrate my blog to a new software platform, which
> will also change the URLs which appear in the RSS feed. There
> is no convenient way to keep the old URLs in place.
> 
> Most importantly, this will affect Planet PostgreSQL, which
> suddenly might see about 150 "new" blog postings.
> 
> Is there a recommended way how to deal with such a move?

Each post in the blog has a "guid" unique identifier, which is usually
the same as the URL, but some platforms let you set up something
different.  If you can "migrate" your posts to the new platform while
keeping the GUIDs, that would be best -- they would not be seen as new
posts.  The actual URLs don't actually matter.

If your platform doesn't let you do this, I think PlanetPostgres would
mark the new posts as hidden anyway, because of the volume (but pester
everyone along the way).  That way only future new posts (actually new
posts) would be syndicated, but everything would appear duplicate in the
admin interface.

> Did someone do such a move before, what is your experience?

It's usually a pretty noisy things to do, from the moderators point of
view.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



Re: New blog - who dis?

От
"Andreas 'ads' Scherbaum"
Дата:


On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
Hello,

On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:

> I plan to migrate my blog to a new software platform, which
> will also change the URLs which appear in the RSS feed. There
> is no convenient way to keep the old URLs in place.
>
> Most importantly, this will affect Planet PostgreSQL, which
> suddenly might see about 150 "new" blog postings.
>
> Is there a recommended way how to deal with such a move?

Each post in the blog has a "guid" unique identifier, which is usually
the same as the URL, but some platforms let you set up something
different.  If you can "migrate" your posts to the new platform while
keeping the GUIDs, that would be best -- they would not be seen as new
posts.  The actual URLs don't actually matter.

The guid in my case is the full URL of the posting, including the domain.
I would need to break and fix quite a few things to port this guid over to
the new system, and I can easily miss something before going live.

I'd rather not go down this path.


 
If your platform doesn't let you do this, I think PlanetPostgres would
mark the new posts as hidden anyway, because of the volume (but pester
everyone along the way).  That way only future new posts (actually new
posts) would be syndicated, but everything would appear duplicate in the
admin interface.

Will it work if I disconnect the old blog from Planet, then move the software
and apply the blog again? Will this ingest all previous postings on the
feed, or just the new ones?


 
> Did someone do such a move before, what is your experience?

It's usually a pretty noisy things to do, from the moderators point of
view.

That's exactly what I want to avoid.


Thanks

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

Re: New blog - who dis?

От
Magnus Hagander
Дата:
On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>
>
>
> On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>>
>> Hello,
>>
>> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
>>
>> > I plan to migrate my blog to a new software platform, which
>> > will also change the URLs which appear in the RSS feed. There
>> > is no convenient way to keep the old URLs in place.
>> >
>> > Most importantly, this will affect Planet PostgreSQL, which
>> > suddenly might see about 150 "new" blog postings.
>> >
>> > Is there a recommended way how to deal with such a move?
>>
>> Each post in the blog has a "guid" unique identifier, which is usually
>> the same as the URL, but some platforms let you set up something
>> different.  If you can "migrate" your posts to the new platform while
>> keeping the GUIDs, that would be best -- they would not be seen as new
>> posts.  The actual URLs don't actually matter.
>
>
> The guid in my case is the full URL of the posting, including the domain.
> I would need to break and fix quite a few things to port this guid over to
> the new system, and I can easily miss something before going live.

You wouldn't need to keep the URL for the new posts, only the GUIDs.
That is, new posts could have GUIDs in a new format, old posts could
just use the old URL in the GUID and the new URL in the, well, URL.


> I'd rather not go down this path.

Strictly speaking, per the RSS requirements, you have to.  Not donig
so will cause reposts for anybody *else* who is tracking your RSS feed
as well, not just Planet PostgreSQL.


>> If your platform doesn't let you do this, I think PlanetPostgres would
>> mark the new posts as hidden anyway, because of the volume (but pester
>> everyone along the way).  That way only future new posts (actually new
>> posts) would be syndicated, but everything would appear duplicate in the
>> admin interface.
>
>
> Will it work if I disconnect the old blog from Planet, then move the software
> and apply the blog again? Will this ingest all previous postings on the
> feed, or just the new ones?

This will ingest all previous postings that are in the RSS feed. So
one way you could do is perhaps put a cutoff on your side so that
posts made before date <x> are simply not included in the RSS?

Now, planet has a few safeguards against this, so it may not be a huge
problem there  -- but per above, there are also others...

* No posts older than 7 days will get posted to *twitter*. They only
go in the planet RSS feed(s).
* The planet RSS feeds contain 30 items. The homepage as well. At this
point you can see this goes back to Aug 24, so not very far. That
means that any entries older than that will be ingested into the
system, but they won't actually be shown to anybody.
* The feed passed through to www.postgresql.org further restricts this
to just the past 10

So this would indicate that if you have a period of say 2 weeks of no
postings, *planet* won't notice. Others might.

Another thing is that if a poll finds 5 or more posts at the same time
it will automatically mark them as hidden and send an email about
something probably went wrong. This will not affect a new blog, but if
you just modify the contents of the RSS this is I think likely to
happen.  Which would again save planet, but not any other consumers of
your feed.


//Magnus



Re: New blog - who dis?

От
"Andreas 'ads' Scherbaum"
Дата:


On Tue, Sep 5, 2023 at 2:16 PM Magnus Hagander <magnus@hagander.net> wrote:
On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>
>
>
> On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>>
>> Hello,
>>
>> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
>>
>> > I plan to migrate my blog to a new software platform, which
>> > will also change the URLs which appear in the RSS feed. There
>> > is no convenient way to keep the old URLs in place.
>> >
>> > Most importantly, this will affect Planet PostgreSQL, which
>> > suddenly might see about 150 "new" blog postings.
>> >
>> > Is there a recommended way how to deal with such a move?
>>
>> Each post in the blog has a "guid" unique identifier, which is usually
>> the same as the URL, but some platforms let you set up something
>> different.  If you can "migrate" your posts to the new platform while
>> keeping the GUIDs, that would be best -- they would not be seen as new
>> posts.  The actual URLs don't actually matter.
>
>
> The guid in my case is the full URL of the posting, including the domain.
> I would need to break and fix quite a few things to port this guid over to
> the new system, and I can easily miss something before going live.

You wouldn't need to keep the URL for the new posts, only the GUIDs.
That is, new posts could have GUIDs in a new format, old posts could
just use the old URL in the GUID and the new URL in the, well, URL.

That's a theme change which I more or less permanently need to
maintain. I'd avoid that, if possible.

 
> I'd rather not go down this path.

Strictly speaking, per the RSS requirements, you have to.  Not donig
so will cause reposts for anybody *else* who is tracking your RSS feed
as well, not just Planet PostgreSQL.

Correct, but I'm mostly worried about spamming Planet.


* No posts older than 7 days will get posted to *twitter*. They only
go in the planet RSS feed(s).
* The planet RSS feeds contain 30 items. The homepage as well. At this
point you can see this goes back to Aug 24, so not very far. That
means that any entries older than that will be ingested into the
system, but they won't actually be shown to anybody.
* The feed passed through to www.postgresql.org further restricts this
to just the past 10

So this would indicate that if you have a period of say 2 weeks of no
postings, *planet* won't notice. Others might.

Basically not posting to Planet from this blog for 2-3 weeks, and maybe
giving someone a heads-up should do the job?


Regards,

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

Re: New blog - who dis?

От
Magnus Hagander
Дата:
On Mon, Sep 11, 2023 at 8:01 AM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>
>
>
> On Tue, Sep 5, 2023 at 2:16 PM Magnus Hagander <magnus@hagander.net> wrote:
>>
>> On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>> >
>> >
>> >
>> > On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>> >>
>> >> Hello,
>> >>
>> >> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
>> >>
>> >> > I plan to migrate my blog to a new software platform, which
>> >> > will also change the URLs which appear in the RSS feed. There
>> >> > is no convenient way to keep the old URLs in place.
>> >> >
>> >> > Most importantly, this will affect Planet PostgreSQL, which
>> >> > suddenly might see about 150 "new" blog postings.
>> >> >
>> >> > Is there a recommended way how to deal with such a move?
>> >>
>> >> Each post in the blog has a "guid" unique identifier, which is usually
>> >> the same as the URL, but some platforms let you set up something
>> >> different.  If you can "migrate" your posts to the new platform while
>> >> keeping the GUIDs, that would be best -- they would not be seen as new
>> >> posts.  The actual URLs don't actually matter.
>> >
>> >
>> > The guid in my case is the full URL of the posting, including the domain.
>> > I would need to break and fix quite a few things to port this guid over to
>> > the new system, and I can easily miss something before going live.
>>
>> You wouldn't need to keep the URL for the new posts, only the GUIDs.
>> That is, new posts could have GUIDs in a new format, old posts could
>> just use the old URL in the GUID and the new URL in the, well, URL.
>
>
> That's a theme change which I more or less permanently need to
> maintain. I'd avoid that, if possible.
>
>
>>
>> > I'd rather not go down this path.
>>
>> Strictly speaking, per the RSS requirements, you have to.  Not donig
>> so will cause reposts for anybody *else* who is tracking your RSS feed
>> as well, not just Planet PostgreSQL.
>
>
> Correct, but I'm mostly worried about spamming Planet.
>
>
>> * No posts older than 7 days will get posted to *twitter*. They only
>> go in the planet RSS feed(s).
>> * The planet RSS feeds contain 30 items. The homepage as well. At this
>> point you can see this goes back to Aug 24, so not very far. That
>> means that any entries older than that will be ingested into the
>> system, but they won't actually be shown to anybody.
>> * The feed passed through to www.postgresql.org further restricts this
>> to just the past 10
>>
>> So this would indicate that if you have a period of say 2 weeks of no
>> postings, *planet* won't notice. Others might.
>
>
> Basically not posting to Planet from this blog for 2-3 weeks, and maybe
> giving someone a heads-up should do the job?


Yes. Note the date of your last post and keep an eye out on
planet.postgresql.org and make sure that date has "scrolled off the
end". Once it has, and it's >7 days, then you are safe from a planet
perspective.

//Magnus



Re: New blog - who dis?

От
Andreas 'ads' Scherbaum
Дата:
On 11/09/2023 16:09, Magnus Hagander wrote:
> On Mon, Sep 11, 2023 at 8:01 AM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>>
>>
>> On Tue, Sep 5, 2023 at 2:16 PM Magnus Hagander <magnus@hagander.net> wrote:
>>> On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>>>>
>>>>
>>>> On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>>>>> Hello,
>>>>>
>>>>> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
>>>>>
>>>>>> I plan to migrate my blog to a new software platform, which
>>>>>> will also change the URLs which appear in the RSS feed. There
>>>>>> is no convenient way to keep the old URLs in place.
>>>>>>
>>>>>> Most importantly, this will affect Planet PostgreSQL, which
>>>>>> suddenly might see about 150 "new" blog postings.
>>>>>>
>>>>>> Is there a recommended way how to deal with such a move?
>>>>> Each post in the blog has a "guid" unique identifier, which is usually
>>>>> the same as the URL, but some platforms let you set up something
>>>>> different.  If you can "migrate" your posts to the new platform while
>>>>> keeping the GUIDs, that would be best -- they would not be seen as new
>>>>> posts.  The actual URLs don't actually matter.
>>>>
>>>> The guid in my case is the full URL of the posting, including the domain.
>>>> I would need to break and fix quite a few things to port this guid over to
>>>> the new system, and I can easily miss something before going live.
>>> You wouldn't need to keep the URL for the new posts, only the GUIDs.
>>> That is, new posts could have GUIDs in a new format, old posts could
>>> just use the old URL in the GUID and the new URL in the, well, URL.
>>
>> That's a theme change which I more or less permanently need to
>> maintain. I'd avoid that, if possible.
>>
>>
>>>> I'd rather not go down this path.
>>> Strictly speaking, per the RSS requirements, you have to.  Not donig
>>> so will cause reposts for anybody *else* who is tracking your RSS feed
>>> as well, not just Planet PostgreSQL.
>>
>> Correct, but I'm mostly worried about spamming Planet.
>>
>>
>>> * No posts older than 7 days will get posted to *twitter*. They only
>>> go in the planet RSS feed(s).
>>> * The planet RSS feeds contain 30 items. The homepage as well. At this
>>> point you can see this goes back to Aug 24, so not very far. That
>>> means that any entries older than that will be ingested into the
>>> system, but they won't actually be shown to anybody.
>>> * The feed passed through to www.postgresql.org further restricts this
>>> to just the past 10
>>>
>>> So this would indicate that if you have a period of say 2 weeks of no
>>> postings, *planet* won't notice. Others might.
>>
>> Basically not posting to Planet from this blog for 2-3 weeks, and maybe
>> giving someone a heads-up should do the job?
>
> Yes. Note the date of your last post and keep an eye out on
> planet.postgresql.org and make sure that date has "scrolled off the
> end". Once it has, and it's >7 days, then you are safe from a planet
> perspective.

Well, can report that I made sure that the old feed url sends a 301 
(permanently moved) to the new feed url.

However Planet doesn't like this:

Feed returned redirect (http 301)

And marks the request as "Failure".

Looks like the new feed url must be updated (and then the blog goes into 
review).

-- 
                Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project


Re: New blog - who dis?

От
Magnus Hagander
Дата:
On Mon, Nov 20, 2023 at 11:44 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>
> On 11/09/2023 16:09, Magnus Hagander wrote:
> > On Mon, Sep 11, 2023 at 8:01 AM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
> >>
> >>
> >> On Tue, Sep 5, 2023 at 2:16 PM Magnus Hagander <magnus@hagander.net> wrote:
> >>> On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
> >>>>
> >>>>
> >>>> On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> >>>>> Hello,
> >>>>>
> >>>>> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
> >>>>>
> >>>>>> I plan to migrate my blog to a new software platform, which
> >>>>>> will also change the URLs which appear in the RSS feed. There
> >>>>>> is no convenient way to keep the old URLs in place.
> >>>>>>
> >>>>>> Most importantly, this will affect Planet PostgreSQL, which
> >>>>>> suddenly might see about 150 "new" blog postings.
> >>>>>>
> >>>>>> Is there a recommended way how to deal with such a move?
> >>>>> Each post in the blog has a "guid" unique identifier, which is usually
> >>>>> the same as the URL, but some platforms let you set up something
> >>>>> different.  If you can "migrate" your posts to the new platform while
> >>>>> keeping the GUIDs, that would be best -- they would not be seen as new
> >>>>> posts.  The actual URLs don't actually matter.
> >>>>
> >>>> The guid in my case is the full URL of the posting, including the domain.
> >>>> I would need to break and fix quite a few things to port this guid over to
> >>>> the new system, and I can easily miss something before going live.
> >>> You wouldn't need to keep the URL for the new posts, only the GUIDs.
> >>> That is, new posts could have GUIDs in a new format, old posts could
> >>> just use the old URL in the GUID and the new URL in the, well, URL.
> >>
> >> That's a theme change which I more or less permanently need to
> >> maintain. I'd avoid that, if possible.
> >>
> >>
> >>>> I'd rather not go down this path.
> >>> Strictly speaking, per the RSS requirements, you have to.  Not donig
> >>> so will cause reposts for anybody *else* who is tracking your RSS feed
> >>> as well, not just Planet PostgreSQL.
> >>
> >> Correct, but I'm mostly worried about spamming Planet.
> >>
> >>
> >>> * No posts older than 7 days will get posted to *twitter*. They only
> >>> go in the planet RSS feed(s).
> >>> * The planet RSS feeds contain 30 items. The homepage as well. At this
> >>> point you can see this goes back to Aug 24, so not very far. That
> >>> means that any entries older than that will be ingested into the
> >>> system, but they won't actually be shown to anybody.
> >>> * The feed passed through to www.postgresql.org further restricts this
> >>> to just the past 10
> >>>
> >>> So this would indicate that if you have a period of say 2 weeks of no
> >>> postings, *planet* won't notice. Others might.
> >>
> >> Basically not posting to Planet from this blog for 2-3 weeks, and maybe
> >> giving someone a heads-up should do the job?
> >
> > Yes. Note the date of your last post and keep an eye out on
> > planet.postgresql.org and make sure that date has "scrolled off the
> > end". Once it has, and it's >7 days, then you are safe from a planet
> > perspective.
>
> Well, can report that I made sure that the old feed url sends a 301
> (permanently moved) to the new feed url.
>
> However Planet doesn't like this:
>
> Feed returned redirect (http 301)
>
> And marks the request as "Failure".
>
> Looks like the new feed url must be updated (and then the blog goes into
> review).

Yeah, this is normal -- planet only autodiscovers redirects to the
https version of the same one. If you change the contents of the URL,
it will get sent back for moderation. (For the *RSS* that is - any
*links* will of course be followed, because that's done by the
browser)

//Magnus



Re: New blog - who dis?

От
Andreas 'ads' Scherbaum
Дата:
On 23/11/2023 15:40, Magnus Hagander wrote:
> On Mon, Nov 20, 2023 at 11:44 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>> On 11/09/2023 16:09, Magnus Hagander wrote:
>>> On Mon, Sep 11, 2023 at 8:01 AM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>>>>
>>>> On Tue, Sep 5, 2023 at 2:16 PM Magnus Hagander <magnus@hagander.net> wrote:
>>>>> On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>>>>>>
>>>>>> On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>>>>>>> Hello,
>>>>>>>
>>>>>>> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
>>>>>>>
>>>>>>>> I plan to migrate my blog to a new software platform, which
>>>>>>>> will also change the URLs which appear in the RSS feed. There
>>>>>>>> is no convenient way to keep the old URLs in place.
>>>>>>>>
>>>>>>>> Most importantly, this will affect Planet PostgreSQL, which
>>>>>>>> suddenly might see about 150 "new" blog postings.
>>>>>>>>
>>>>>>>> Is there a recommended way how to deal with such a move?
>>>>>>> Each post in the blog has a "guid" unique identifier, which is usually
>>>>>>> the same as the URL, but some platforms let you set up something
>>>>>>> different.  If you can "migrate" your posts to the new platform while
>>>>>>> keeping the GUIDs, that would be best -- they would not be seen as new
>>>>>>> posts.  The actual URLs don't actually matter.
>>>>>> The guid in my case is the full URL of the posting, including the domain.
>>>>>> I would need to break and fix quite a few things to port this guid over to
>>>>>> the new system, and I can easily miss something before going live.
>>>>> You wouldn't need to keep the URL for the new posts, only the GUIDs.
>>>>> That is, new posts could have GUIDs in a new format, old posts could
>>>>> just use the old URL in the GUID and the new URL in the, well, URL.
>>>> That's a theme change which I more or less permanently need to
>>>> maintain. I'd avoid that, if possible.
>>>>
>>>>
>>>>>> I'd rather not go down this path.
>>>>> Strictly speaking, per the RSS requirements, you have to.  Not donig
>>>>> so will cause reposts for anybody *else* who is tracking your RSS feed
>>>>> as well, not just Planet PostgreSQL.
>>>> Correct, but I'm mostly worried about spamming Planet.
>>>>
>>>>
>>>>> * No posts older than 7 days will get posted to *twitter*. They only
>>>>> go in the planet RSS feed(s).
>>>>> * The planet RSS feeds contain 30 items. The homepage as well. At this
>>>>> point you can see this goes back to Aug 24, so not very far. That
>>>>> means that any entries older than that will be ingested into the
>>>>> system, but they won't actually be shown to anybody.
>>>>> * The feed passed through to www.postgresql.org further restricts this
>>>>> to just the past 10
>>>>>
>>>>> So this would indicate that if you have a period of say 2 weeks of no
>>>>> postings, *planet* won't notice. Others might.
>>>> Basically not posting to Planet from this blog for 2-3 weeks, and maybe
>>>> giving someone a heads-up should do the job?
>>> Yes. Note the date of your last post and keep an eye out on
>>> planet.postgresql.org and make sure that date has "scrolled off the
>>> end". Once it has, and it's >7 days, then you are safe from a planet
>>> perspective.
>> Well, can report that I made sure that the old feed url sends a 301
>> (permanently moved) to the new feed url.
>>
>> However Planet doesn't like this:
>>
>> Feed returned redirect (http 301)
>>
>> And marks the request as "Failure".
>>
>> Looks like the new feed url must be updated (and then the blog goes into
>> review).
> Yeah, this is normal -- planet only autodiscovers redirects to the
> https version of the same one. If you change the contents of the URL,
> it will get sent back for moderation. (For the *RSS* that is - any
> *links* will of course be followed, because that's done by the
> browser)

What does "the same one" mean? I had a 301 to "the same content"
- aka the feed - in place, and planet complained about the 301.

That's when I updated the feed url, which then naturally went into 
moderation.

By the way: who does the moderation?
The new URL is still stuck in moderation.


Regards,

-- 
                Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project


Re: New blog - who dis?

От
Magnus Hagander
Дата:


On Mon, Dec 4, 2023, 21:44 Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
On 23/11/2023 15:40, Magnus Hagander wrote:
> On Mon, Nov 20, 2023 at 11:44 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>> On 11/09/2023 16:09, Magnus Hagander wrote:
>>> On Mon, Sep 11, 2023 at 8:01 AM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>>>>
>>>> On Tue, Sep 5, 2023 at 2:16 PM Magnus Hagander <magnus@hagander.net> wrote:
>>>>> On Mon, Sep 4, 2023 at 2:47 PM Andreas 'ads' Scherbaum <ads@pgug.de> wrote:
>>>>>>
>>>>>> On Mon, Sep 4, 2023 at 1:00 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>>>>>>> Hello,
>>>>>>>
>>>>>>> On 2023-Sep-04, Andreas 'ads' Scherbaum wrote:
>>>>>>>
>>>>>>>> I plan to migrate my blog to a new software platform, which
>>>>>>>> will also change the URLs which appear in the RSS feed. There
>>>>>>>> is no convenient way to keep the old URLs in place.
>>>>>>>>
>>>>>>>> Most importantly, this will affect Planet PostgreSQL, which
>>>>>>>> suddenly might see about 150 "new" blog postings.
>>>>>>>>
>>>>>>>> Is there a recommended way how to deal with such a move?
>>>>>>> Each post in the blog has a "guid" unique identifier, which is usually
>>>>>>> the same as the URL, but some platforms let you set up something
>>>>>>> different.  If you can "migrate" your posts to the new platform while
>>>>>>> keeping the GUIDs, that would be best -- they would not be seen as new
>>>>>>> posts.  The actual URLs don't actually matter.
>>>>>> The guid in my case is the full URL of the posting, including the domain.
>>>>>> I would need to break and fix quite a few things to port this guid over to
>>>>>> the new system, and I can easily miss something before going live.
>>>>> You wouldn't need to keep the URL for the new posts, only the GUIDs.
>>>>> That is, new posts could have GUIDs in a new format, old posts could
>>>>> just use the old URL in the GUID and the new URL in the, well, URL.
>>>> That's a theme change which I more or less permanently need to
>>>> maintain. I'd avoid that, if possible.
>>>>
>>>>
>>>>>> I'd rather not go down this path.
>>>>> Strictly speaking, per the RSS requirements, you have to.  Not donig
>>>>> so will cause reposts for anybody *else* who is tracking your RSS feed
>>>>> as well, not just Planet PostgreSQL.
>>>> Correct, but I'm mostly worried about spamming Planet.
>>>>
>>>>
>>>>> * No posts older than 7 days will get posted to *twitter*. They only
>>>>> go in the planet RSS feed(s).
>>>>> * The planet RSS feeds contain 30 items. The homepage as well. At this
>>>>> point you can see this goes back to Aug 24, so not very far. That
>>>>> means that any entries older than that will be ingested into the
>>>>> system, but they won't actually be shown to anybody.
>>>>> * The feed passed through to www.postgresql.org further restricts this
>>>>> to just the past 10
>>>>>
>>>>> So this would indicate that if you have a period of say 2 weeks of no
>>>>> postings, *planet* won't notice. Others might.
>>>> Basically not posting to Planet from this blog for 2-3 weeks, and maybe
>>>> giving someone a heads-up should do the job?
>>> Yes. Note the date of your last post and keep an eye out on
>>> planet.postgresql.org and make sure that date has "scrolled off the
>>> end". Once it has, and it's >7 days, then you are safe from a planet
>>> perspective.
>> Well, can report that I made sure that the old feed url sends a 301
>> (permanently moved) to the new feed url.
>>
>> However Planet doesn't like this:
>>
>> Feed returned redirect (http 301)
>>
>> And marks the request as "Failure".
>>
>> Looks like the new feed url must be updated (and then the blog goes into
>> review).
> Yeah, this is normal -- planet only autodiscovers redirects to the
> https version of the same one. If you change the contents of the URL,
> it will get sent back for moderation. (For the *RSS* that is - any
> *links* will of course be followed, because that's done by the
> browser)

What does "the same one" mean? I had a 301 to "the same content"
- aka the feed - in place, and planet complained about the 301.

That's when I updated the feed url, which then naturally went into
moderation.

The same url. That is if the url changes only in the http to https transition. There can be no other changes in the url, and it doesn't attempt to do any kind of content comparison, just the url. 



By the way: who does the moderation?
The new URL is still stuck in moderation.


I know at least one person on the (small) team has been unexpectedly unavailable recently due to to a few family emergencies. This has made the review queue even longer than normal, unfortunately. 

/Magnus