Menu

#1 Broken links after related page expiry or deletion

v1.0.1
open
nobody
5
2004-07-30
2004-07-30
No

At present when a linked page is removed or expired any
pages with a related link maintain both the linking text
and a base link.

Example:

http://localhost:9000/redirect/?oid=
[com.arsdigita.cms.contenttypes.PressRelease:
{id=28011}] becomes
http://localhost:9000/redirect/?oid=

Improvement request:

The CMS knows the oid and can check if the link exists
using the following code: (thanks Nick!) and then either
show the link, noting at all or a user coded piece of text.

<xsl:if test="targetItem/@oid">
...display link etc.
</xsl:if>

Whilst the above is useful to the viewing public it is
surely not best practice for the CMS as over time there
could be hundreds or thousands of pages with outdated,
unreachable links, all masked so they do not appear.

Solution:

When a page expires the code used to expire looks for
pages in the CMS with related links. It should then be
able to fire a messsage to the user advising them that
pages XXX have content linking to a depreciated page
and that they should edit them.

This as an regestry config option perhaps to either:
1) ignore inlinked pages
2) do not show unavailable links
3) email the owner / reviewer

Regards,
Neil

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.