Lines Matching refs:id
72 * @param string $mediaID id
93 $RSSstart .= '<id>' . $idTag . date("Y-m-d") . ':' . parse_url(ml($mediaID), PHP_URL_PATH)
94 . '</id>' . DOKU_LF;
106 // get list of id's
107 foreach ($idxEntry as $id) {
109 if (strpos($id, 'media__') !== 0) {
110 if ($this->skipPage($id, $namespace)) {
114 $meta = p_get_metadata($id);
127 $entry .= ' <link href="' . wl($id) . '" rel="alternate" type="text/html" />' . DOKU_LF;
134 $entry .= ' <id>' . $idTag . date("Y-m-d", $meta['date']['modified']) . ':'
135 . parse_url(wl($id), PHP_URL_PATH) . '</id>' . DOKU_LF;
149 private function skipPage(string $id, string $namespace): bool
151 Logger::debug("helper_plugin_spatialhelper_sitemap::skipPage, skipping $id, not in $namespace");
152 if (isHiddenPage($id)) {
155 if (auth_aclcheck($id, '', null) < AUTH_READ) {
160 // only if id is in or below namespace
161 if (0 !== strpos(getNS($id), $namespace)) {
171 * @param string $mediaID id for the KML file
184 $KMLstart .= '<Document id="root_doc">' . DOKU_LF;
188 $KMLstart .= '<Style id="icon"><IconStyle><color>ffffffff</color><scale>1</scale>';
202 // get list of id's
203 foreach ($idxEntry as $id) {
205 if (strpos($id, 'media__') !== 0) {
206 if ($this->skipPage($id, $namespace)) {
210 $meta = p_get_metadata($id);
214 $desc .= '<p><a href="' . wl($id, '', true) . '">' . $meta['title'] . '</a></p>';
217 $plcm = '<Placemark id="crc32-' . hash('crc32', $id) . '">' . DOKU_LF;
220 $plcm .= ' <atom:link href="' . wl($id, '' . true) . '" rel="alternate" type="text/html" />'