GetResourceIdsSortedBy("Date Of Record Creation", FALSE, 10); $RecentlyModified = $RFactory->GetResourceIdsSortedBy("Date Last Modified", FALSE, 20); # remove new records from Recently Modified list $PrunedRecentlyModified = array(); foreach ($RecentlyModified as $Id) { if (in_array($Id, $RecentlyAdded)) { $Resource = new Resource($Id); if (strtotime($Resource->Get("Date Last Modified")) <= strtotime($Resource->Get("Date Of Record Creation"))) { continue; } } $PrunedRecentlyModified[] = $Id; } $RecentlyModified = array_slice($PrunedRecentlyModified, 0, 10); # build link to search for recently modified resources $OneYearAgo = date("Y-m-d", strtotime("-1 year")); $Schema = new MetadataSchema(MetadataSchema::SCHEMAID_DEFAULT); $ModifiedFieldId = $Schema->GetFieldIdByName("Date Last Modified"); $RecentlyModifiedSearchLink = "index.php?P=AdvancedSearch&Q=Y&F" .$ModifiedFieldId."=>%3D".$OneYearAgo."&SF=".$ModifiedFieldId; # build link to search for recently added resources $AddedFieldId = $Schema->GetFieldIdByName("Date Of Record Creation"); $RecentlyAddedSearchLink = "index.php?P=AdvancedSearch&Q=Y&F" .$AddedFieldId."=>%3D".$OneYearAgo."&SF=".$AddedFieldId; # retrieve local collection stats (if any) global $G_CollectionStats; $LocalStats = (isset($G_CollectionStats) && in_array("LocalStats", $G_CollectionStats)) ? $G_CollectionStats["LocalStats"] : array(); ?>

# Metadata Tool Functions

# Recently Modified Records

0) { ?>

Date | Title | User |
--- | --- | --- | ---
Get("Date Last Modified")); ?> | GetMapped("Title"); ?> | Get("Last Modified By Id"); ?> | UserCanEdit($G_User)) { ?> edit

More Recently Modified

There are currently no recently modified records.

# Recently Added Records

0) { ?>

Date | Title | User |
--- | --- | --- | ---
Get("Date Of Record Creation")); ?> | GetMapped("Title"); ?> | Get("Added By Id"); ?> | UserCanEdit($G_User)) { ?> edit

More Recently Added

There are currently no recently added records.

# Collection Statistics

Number of Classifications |
Number of Controlled Names |
Resources Marked Okay for Viewing |
Resources Rated |
Total Number of Resources |
Total Distinct Resource Search Terms |
$Value) { ?>
Stats last updated |
| Update Now

# Collection Development Resources

Using Dublin Core | http://dublincore.org/documents/usageguide/
IMLS Digital Collection Framework | http://framework.niso.org/
Dublin Core Metadata Initiative | http://www.dublincore.org/
Open Archives Initiative | http://www.openarchives.org/
NSDL_DC Metadata Guidelines | http://nsdl.org/collection/metadata-guide.php