} $urlPrefix .= $clientRoot . (substr($clientRoot, -1) == '/' ? '' : '/'); $feedLink = $urlPrefix . 'webservices/dwc/rss.xml'; echo '<a href="' . $feedLink . '" target="_blank">' . $feedLink . '</a>'; } else { echo '--feed not published for any of the collections within the portal--'; } ?> </div> <?php if ($collId) { if ($action == 'Create/Refresh Darwin Core Archive') { echo '<ul>'; $dwcaManager->setVerbose(1); $dwcaManager->createDwcArchive(); $dwcaManager->writeRssFile(); echo '</ul>'; } if ($dwcaArr = $dwcaManager->getDwcaItems($collId)) { foreach ($dwcaArr as $k => $v) { ?> <div style="margin:10px;"> <div> <b>Title:</b> <?php echo $v['title']; ?> <form action="datapublisher.php" method="post" style="display:inline;" onsubmit="return window.confirm('Are you sure you want to delete this archive?');"> <input type="hidden" name="colliddel" value="<?php echo $v['collid']; ?>