[wp-trac] [WordPress Trac] #6492: Guids No Longer Have Permalink Format

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 2 20:31:14 UTC 2011


#6492: Guids No Longer Have Permalink Format
-------------------------------------+------------------------------
 Reporter:  brianwhite               |       Owner:  anonymous
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  2.5
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch guid featured  |
-------------------------------------+------------------------------

Comment (by braydonf):

 Replying to [comment:65 Otto42]:
 > Replying to [comment:64 braydonf]:
 > > Basing it from the URL really wouldn't be that much of a difference
 than just using the URL itself, especially since there wouldn't be a
 different GUID for revisions.
 >
 > The URL can change, but the GUID should never change even if you change
 the URL. The GUID shouldn't change because the post content changes.
 So the GUID shouldn't be based on the URL, but what else would be used to
 get it if it where based on using a uuid, md5, sha1 hash that wouldn't
 change? Or could the GUID be a randomly generated hash and that would be
 its point of reference. However if the GUID isn't a peramlink, how would
 the permalink be sent to RSS readers, since that is what is currently
 used.
 >
 > > For example if there is a post made and it is read by various feed
 readers with one GUID, by changing the revision it would affect the GUID
 noting that the last read from the feed reader has been changed, and
 nolonger valid. This is especially sensitive for posts that have time
 sensitive information such as Paypal buttons on items to be purchased with
 a limited quantity. I've been working on a feed reader and because of the
 problem of posts being able to be updated, I need to verify that the title
 and contents have not changed. If they have been then I update the post.
 >
 > Different problem. The GUID is an identifier for the post. A new GUID
 means a new post, not an update to an old one.
 In feeds the GUID would need to stay the same, your right, otherwise there
 would be no point of reference.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/6492#comment:66>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list