|
40 | 40 | <DO> |
41 | 41 | <IF COND="([#TPL] EQ 'sommaire') OR ([#TPL] EQ 'article')"> |
42 | 42 | <title>[#G_TITLE|textebrut|htmlspecialchars]</title> |
43 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 43 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
44 | 44 | <IF COND="[#ID|get_dc_fields('description')]"> |
45 | 45 | <description>[#ID|get_dc_fields('description')|textebrut|htmlspecialchars]</description> |
46 | 46 | </IF> |
47 | 47 |
|
48 | 48 | <LOOP NAME="rss_document_parent" TABLE="relations, entities" WHERE="id2 = '[#ID]' AND nature = 'P' AND id1 = entities.id" ORDER="degree DESC"> |
49 | | - <category domain="[#CURRENTURL|dirname]/[#ID|makeurlwithid]"> |
| 49 | + <category domain="[#SITEINFOS.URL]/[#ID|makeurlwithid]"> |
50 | 50 | [#G_TITLE|couper(50)]<IF COND="[#G_TITLE|hasbeencut]">...</IF> |
51 | 51 | </category> |
52 | 52 | </LOOP> |
53 | 53 |
|
54 | 54 | <language>fr</language> |
55 | 55 | <pubDate>[#CREATIONDATE|formateddate('%a, %d %b %Y %T %z')]</pubDate> |
56 | 56 | <lastBuildDate>[#MODIFICATIONDATE|formateddate('%a, %d %b %Y %T %z')]</lastBuildDate> |
57 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 57 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
58 | 58 | <ttl>0</ttl> |
59 | 59 |
|
60 | 60 | <IF COND="[#TPL] EQ 'sommaire'"> |
|
83 | 83 | <ELSEIF COND="![#TYPENAME] OR ([#TYPE] EQ [#TYPENAME])" /> |
84 | 84 | <item> |
85 | 85 | <title>[#G_TITLE|textebrut|htmlspecialchars] </title> |
86 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 86 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
87 | 87 | <IF COND="[#ID|get_dc_fields('description')]"> |
88 | 88 | <description>[#ID|get_dc_fields('description')|textebrut|htmlspecialchars]</description> |
89 | 89 | </IF> |
90 | 90 | <pubDate>[#CREATIONDATE|formateddate('%a, %d %b %Y %T %z')]</pubDate> |
91 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 91 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
92 | 92 | </item> |
93 | 93 | </IF> |
94 | 94 | </DO> |
|
103 | 103 | <LOOP NAME="rss_home" TABLE="sites" WHERE="name='[#SITE]' AND status GT 0" LIMIT="0,1"> |
104 | 104 | <title>[#TITLE]</title> |
105 | 105 | </LOOP> |
106 | | - <link>[#CURRENTURL|dirname]</link> |
| 106 | + <link>[#SITEINFOS.URL]</link> |
107 | 107 | <IF COND="[#OPTIONS.METADONNEESSITE.DESCRIPTIONSITE]"> |
108 | 108 | <description>[#OPTIONS.METADONNEESSITE.DESCRIPTIONSITE|textebrut|cleanBadChars|replacequotationmark]</description> |
109 | 109 | </IF> |
|
112 | 112 | <DO> |
113 | 113 | <item> |
114 | 114 | <title>[#G_TITLE|textebrut|htmlspecialchars]</title> |
115 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 115 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
116 | 116 | <IF COND="[#RESUME|textebrut]"> |
117 | 117 | <description>[#RESUME|textebrut]</description> |
118 | 118 | <ELSE /> |
119 | 119 | <description>[#TEXTE|textebrut|couper(1500)]</description> |
120 | 120 | </IF> |
121 | 121 | <pubDate>[(#DATEPUBLI|formateddate('%a, %d %b %Y %T %z'))]</pubDate> |
122 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 122 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
123 | 123 | </item> |
124 | 124 | </DO> |
125 | 125 | </LOOP> |
|
132 | 132 | <LOOP NAME="rss_index_auteurs_types" TABLE="persontypes" WHERE="persontypes.id='[#IDENTITY]'"> |
133 | 133 | <DO> |
134 | 134 | <title>[#TITLE]</title> |
135 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 135 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
136 | 136 | <description>[@INDEX]</description> |
137 | 137 | <language>fr</language> |
138 | 138 | <ttl>0</ttl> |
139 | 139 |
|
140 | 140 | <LOOP NAME="rss_index_auteurs_entries" TABLE="persons" WHERE="persons.idtype='[#ID]'" LIMIT="0,10" ORDER="upd DESC"> |
141 | 141 | <item> |
142 | 142 | <title>[#G_FIRSTNAME|removenotes] [#G_FAMILYNAME|removenotes]</title> |
143 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
144 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 143 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
| 144 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
145 | 145 | <pubDate>[#UPD]</pubDate> |
146 | 146 | </item> |
147 | 147 | </LOOP> |
|
150 | 150 | <LOOP NAME="rss_index_auteurs" TABLE="persons, persontypes" WHERE="persons.id='[#IDENTITY]' AND persons.idtype = persontypes.id"> |
151 | 151 | <DO> |
152 | 152 | <title>[#TITLE] : [#G_FIRSTNAME|removenotes] [#G_FAMILYNAME|removenotes]</title> |
153 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 153 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
154 | 154 | <description>[@PUBLICATIONS_DE] [#TITLE] [#G_FIRSTNAME] [#G_FAMILYNAME]</description> |
155 | 155 | <language>fr</language> |
156 | 156 | <ttl>0</ttl> |
157 | 157 |
|
158 | 158 | <LOOP NAME="rss_index_auteurs_articles" TABLE="relations, entities" WHERE="relations.id2 = [#ID] AND relations.id1 = entities.id AND entities.status GT 0" LIMIT="0,10" ORDER="creationdate DESC"> |
159 | 159 | <item> |
160 | 160 | <title>[#G_TITLE|textebrut|htmlspecialchars]</title> |
161 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 161 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
162 | 162 |
|
163 | 163 | <IF COND="[#ID|get_dc_fields('description')]"> |
164 | 164 | <description>[#ID|get_dc_fields('description')|textebrut|htmlspecialchars]</description> |
165 | 165 | </IF> |
166 | 166 |
|
167 | 167 | <pubDate>[#CREATIONDATE|formateddate('%a, %d %b %Y %T %z')]</pubDate> |
168 | 168 | <lastBuildDate>[#MODIFICATIONDATE|formateddate('%a, %d %b %Y %T %z')]</lastBuildDate> |
169 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 169 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
170 | 170 | </item> |
171 | 171 | </LOOP> |
172 | 172 | </DO> |
|
180 | 180 | <LOOP NAME="rss_index_general_types" TABLE="entrytypes" WHERE="entrytypes.id='[#IDENTITY]'"> |
181 | 181 | <DO> |
182 | 182 | <title>[#TITLE]</title> |
183 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 183 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
184 | 184 | <description>[@DERNIERES_ENTREES_INDEX]</description> |
185 | 185 | <language>fr</language> |
186 | 186 | <ttl>0</ttl> |
187 | 187 |
|
188 | 188 | <LOOP NAME="rss_index_general_entries" TABLE="entries" WHERE="entries.idtype='[#ID]'" LIMIT="0,10" ORDER="upd DESC"> |
189 | 189 | <item> |
190 | 190 | <title>[#G_NAME|removenotes]</title> |
191 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
192 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 191 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
| 192 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
193 | 193 | <pubDate>[#UPD]</pubDate> |
194 | 194 | </item> |
195 | 195 | </LOOP> |
|
199 | 199 | <LOOP NAME="rss_index_general" TABLE="entries" WHERE="entries.id='[#IDENTITY]'"> |
200 | 200 | <DO> |
201 | 201 | <title>[#G_NAME]</title> |
202 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 202 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
203 | 203 | <description>[@ENTREES_INDEX]</description> |
204 | 204 | <language>fr</language> |
205 | 205 | <ttl>0</ttl> |
206 | 206 |
|
207 | 207 | <LOOP NAME="rss_index_general_entry" TABLE="relations, entities" WHERE="relations.id2 = [#ID] AND relations.id1 = entities.id AND entities.status GT 0" LIMIT="0,10" ORDER="entities.modificationdate DESC"> |
208 | 208 | <item> |
209 | 209 | <title>[#G_TITLE|textebrut|htmlspecialchars]</title> |
210 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 210 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
211 | 211 |
|
212 | 212 | <IF COND="[#ID|get_dc_fields('description')]"> |
213 | 213 | <description>[#ID|get_dc_fields('description')|textebrut|htmlspecialchars]</description> |
214 | 214 | </IF> |
215 | 215 |
|
216 | 216 | <pubDate>[#CREATIONDATE|formateddate('%a, %d %b %Y %T %z')]</pubDate> |
217 | 217 | <lastBuildDate>[#MODIFICATIONDATE|formateddate('%a, %d %b %Y %T %z')]</lastBuildDate> |
218 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 218 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
219 | 219 | </item> |
220 | 220 | </LOOP> |
221 | 221 | </DO> |
|
229 | 229 | <LOOP NAME="rss_individu" TABLE="individus" WHERE="individus.identity='[#IDENTITY]'"> |
230 | 230 | <DO> |
231 | 231 | <title>[#PRENOM] [#NOM]</title> |
232 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 232 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
233 | 233 | <description>[#ACCROCHE]</description> |
234 | 234 | <language>fr</language> |
235 | 235 | <ttl>0</ttl> |
236 | 236 |
|
237 | 237 | <LOOP NAME="rss_individu_entry" TABLE="relations, entities" WHERE="relations.id2 = [#ID] AND relations.id1 = entities.id AND entities.status GT 0" LIMIT="0,10" ORDER="entities.modificationdate DESC"> |
238 | 238 | <item> |
239 | 239 | <title>[#G_TITLE|textebrut|htmlspecialchars]</title> |
240 | | - <link>[#CURRENTURL|dirname]/[#ID|makeurlwithid]</link> |
| 240 | + <link>[#SITEINFOS.URL]/[#ID|makeurlwithid]</link> |
241 | 241 |
|
242 | 242 | <IF COND="[#ID|get_dc_fields('description')]"> |
243 | 243 | <description>[#ID|get_dc_fields('description')|textebrut|htmlspecialchars]</description> |
244 | 244 | </IF> |
245 | 245 |
|
246 | 246 | <pubDate>[#CREATIONDATE|formateddate('%a, %d %b %Y %T %z')]</pubDate> |
247 | 247 | <lastBuildDate>[#MODIFICATIONDATE|formateddate('%a, %d %b %Y %T %z')]</lastBuildDate> |
248 | | - <guid isPermaLink="true">[#CURRENTURL|dirname]/[#ID|makeurlwithid]</guid> |
| 248 | + <guid isPermaLink="true">[#SITEINFOS.URL]/[#ID|makeurlwithid]</guid> |
249 | 249 | </item> |
250 | 250 | </LOOP> |
251 | 251 | </DO> |
|
0 commit comments