Orckestra / C1-CMS-Foundation

C1 CMS Foundation - .NET based, open source and a bundle of joy!
https://c1.orckestra.com/
Other
251 stars 109 forks source link

Feature Request: What links to this page or file? #326

Open DBailey635 opened 7 years ago

DBailey635 commented 7 years ago

As a manager of a large website, one of my biggest problems (and pet peeve) is Media libraries turning into document dumps, full of files no longer linked-to by any web pages. These unused files take up valuable disk space on the servers and often contain out of date information.

No matter how hard I drill it into editors to delete files when they are obsolete, the servers quickly accumulate orphan files. We need a way to find them.

I'd like to propose some new functionality:

Both functions will require a mechanism that scans a page upon publish, and stores hyperlink information as searchable metadata attached to the page. This metadata would also allow the creation of a web-page link checker (possibly scanning external hyperlinks as well).

Deleting a file could also check this metadata and alert users if the file or page they are about to delete is linked to from another page.

napernik commented 7 years ago

We have console search in development, the most generic way to address the issue would be extend the feature once it is released and for each search document to have "references" facet field that would contain references to the other search documents.

That would allow not only to make a warning when deleting a page/media file to show that there're other pages referencing current item, but also to extend the idea to the other data types and console elements - f.e. one could see on which pages a given cms function is used.

DBailey635 commented 7 years ago

@napernik That sounds like a good way to go!

Ideally, what I'd like to see long-term is a new Reporting perspective in the console that would contain these reports and others (such as #281), à la Microsoft FrontPage:

site-view-site-summary

As far as I'm aware, no other major CMS has this functionality.