Bug 783356 - Pretty URLs and URL slug property for topics
Summary: Pretty URLs and URL slug property for topics
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 787532
TreeView+ depends on / blocked
 
Reported: 2012-01-20 05:42 UTC by Misty Stanley-Jones
Modified: 2014-08-04 22:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-02 00:26:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 787532 0 unspecified CLOSED RFE: Persistent (Stable) URLs 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 811441 0 unspecified NEW RFE: Fixed URL should update when title field does 2023-06-23 14:12:54 UTC

Internal Links: 787532 811441

Description Misty Stanley-Jones 2012-01-20 05:42:19 UTC
As discussed. :)

Comment 1 Joshua Wulf 2012-02-06 00:56:26 UTC
Human descriptive URLs rather than "topic3456.html"

Comment 2 Joshua Wulf 2012-02-06 01:02:23 UTC
Topic URLs should be derived from descriptive information about the topic. 

If a topic has a url-slug property this can be used to form the url. If the url-slug property is not set, the URL can be derived from the topic title.

The topic url-slug property could be pre-populated from the topic title, and could be able to be overridden by the topic author.

If a topic title or topic url-slug property is changed, then the url would change. It is important to enforce persistent URLs in published documentation, so the CMS might have to be aware of whether a topic has been published, in order to preserve the persistence of URLs between releases.

Comment 3 Misty Stanley-Jones 2012-02-06 04:21:24 UTC
Yes, Matt and I had already discussed this before. That's why I just put "As discussed" in the first comment. Sorry you were not in the loop. :)

Comment 4 Matthew Casperson 2012-02-21 01:14:59 UTC
*** Bug 787532 has been marked as a duplicate of this bug. ***

Comment 5 Matthew Casperson 2012-02-21 02:22:34 UTC
Fixed in 20120221-1135

There is a new property tag assigned to a topic called Fixed URL (ID 20). When a topic is processed by the docbook builder for the first time, a unique name is stored in this tag based on the title of the topic, like Review_Whats_New_and_Different_in_JBoss_Enterprise_Application_Platform_6.

Once the Fixed URL Property Tag is set, it can only be changed by modifying the property tag. Modifying the topic title will not change the Fixed URL Property Tag. This means it is possible, but not trivial, to change the URL that the topic will appear under, and every day edits to the topics will not affect the fixed url.

Landing pages also have fixed urls in the form of Migration_Getting_Started.

Comment 6 Joshua Wulf 2012-03-06 03:01:19 UTC
Does it handle the situation when a topic is removed from a release?

For example: http://docs.redhat.com/.../some-topic resolves for v.1.0, but some-topic is deprecated or removed in the version 1.1 release.


Note You need to log in before you can comment on or make changes to this bug.