@@ 68-72 (lines=5) @@ | ||
65 | $writer->namespaceMap[$namespace] = ''; |
|
66 | $writer->setIndent(true); |
|
67 | $writer->startElement('{' . $namespace . '}' . 'urlset'); |
|
68 | foreach ($config['content_types']['blogEntry']['all'] as $id) { |
|
69 | $writer->startElement('url'); |
|
70 | $writer->writeElement('loc', $baseUrl . '/blog.' . $id . '.html'); |
|
71 | $writer->endElement(); |
|
72 | } |
|
73 | foreach ($config['content_types']['page']['all'] as $id) { |
|
74 | $writer->startElement('url'); |
|
75 | $writer->writeElement('loc', $baseUrl . '/' . $id . '.html'); |
|
@@ 73-77 (lines=5) @@ | ||
70 | $writer->writeElement('loc', $baseUrl . '/blog.' . $id . '.html'); |
|
71 | $writer->endElement(); |
|
72 | } |
|
73 | foreach ($config['content_types']['page']['all'] as $id) { |
|
74 | $writer->startElement('url'); |
|
75 | $writer->writeElement('loc', $baseUrl . '/' . $id . '.html'); |
|
76 | $writer->endElement(); |
|
77 | } |
|
78 | $writer->endElement(); |
|
79 | $content = $writer->outputMemory(); |
|
80 |