Archiving Content Explained
On this page... (hide)
Each standard Coranto profile has settings for archiving. Log-in to your Coranto installation and visit:
Administration => Manage Profiles => Edit Archiving Settings (under the profile you want to change)
Scrolling down this settings page you will notice that there are no setting for filtering, skipping items, categories to include, XMS profiles (if you use this addon), or sorting. The built in archives that Coranto creates inherit these settings from the profile's general settings page.
There is a twist to this. The archives invert some of the settings. If you filter by time and only show items less than 30 days old on with the main profile, the archive will include the items 30 days or more old. If you filter by number and your setting is 10 the first ten items will be in your main profile and the remainder will be archived.
This example assumes that the profile is named 'news' - the profile name will be used in the archive file name.
It also assumes that the Archive HTML file extension is set to 'html'.
Once you have enabled archiving by selecting one of the methods you must build news. If you select any method except 'single file' you will now have files named:
news-archive-10-2005 - (monthly archive) news-archive-24-10-2004 - (weekly archives or daily archive)
and a file called:
that contains a list of links to your archives.
You can link to the news-archive.html file and your users can jump to your archives from there or you can include the news-archive.txt file into another page to provide a menu of links to your archives.
In my testing I have observed that Coranto does build build a static file (ending in html) when you select the 'single file' setting for archiving.
Coranto does not delete any files when you build news. Coranto will overwrite any files that already exist with a new file that has the same name, but if a file does not need to be replaced the old file stays in place. You can end up with old content still available and not even realize it.
You have a single news item for January, 2005 and you delete this item.
You build news.
The archive file for the month of January, 2005 will still exists because no new file with the same name was created because there was no content for it.
Anyone who had the file bookmarked can still read it. It will still be indexed by spiders and robots. Anyone who figures out the naming scheme for your archives can 'explore' and find old content that you thought you had deleted.
This applies to static files as well as the profile.txt files (where 'profile' is the filename associated with the profile, usually the profile name) that Coranto creates. Disabling or deleting a profile does not remove the files that were created while it was enabled.