Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-08-05 20:33:38
- Neko
- Member
- Registered: 2004-03-18
- Posts: 458
Feed Id?
Reading the source of a feed generated by TXP I can see:
<id>tag:www.example.com,2005:ab1234567890... etc...</id>
I was wondering about the part after the comma. How is that generated? Is there a way to change it?
Last edited by Neko (2009-08-07 11:53:38)
Offline
Re: Feed Id?
Neko wrote:
Is there a way to change it?
Why? It’s automatically created Unique ID for the feed and it’s items. Basically the ID is:
- ID that is globally (yes, world global) unique, build from something unique, like from hash, permlink and email.
- Contains valid URI (RFC 2396).
- Textpattern uses either the main email address or the site domain as the part of the ID. Can be controlled from Advanced Prefs.
And the thing that prevents you from changing it:
- The ID is eternal. It must never change.
And the bottom line – the thing why I asked why:
- The ID doesn’t really matter. It’s only used by feed readers, subscribers and such.
Offline
#3 2009-08-06 09:25:45
- Neko
- Member
- Registered: 2004-03-18
- Posts: 458
Re: Feed Id?
Gocom wrote:
Why?
Because I had to split a site in two. I exported the MySQL database, took some of the contents, and moved them to a new domain. The only link between the two sites, now, is the feed id since it has not changed on the new site ‘cause it’s included in the MySQL DB. So, I just discovered this feed id and I’d like to know of I can change it. Can I change it?
Last edited by Neko (2009-08-06 09:41:59)
Offline
Offline
Re: Feed Id?
Why redo the article?
Offline
#6 2009-08-06 14:50:53
- Neko
- Member
- Registered: 2004-03-18
- Posts: 458
Re: Feed Id?
OK, here’s what I did:
- Exported the DB.
- Dropped it.
- Re-run setup (this is the key, I guess, since tweaking the prefs — advanced or whatnot — didn’t re-create a new id. They just allow to add an e-mail address to the feed id).
- At the end of set-up, TXP generated a new blog id inside the DB.
- Re-imported the old DB.
- Via PHPMyAdmin, pasted the new blog id inside the table txp_prefs.
Hope this should be enough for search engines. The feed source now contains a new id.
Last edited by Neko (2009-08-06 15:04:17)
Offline
Pages: 1