Fossil

Diff
Login

Differences From Artifact [a27ae6f0c8]:

To Artifact [25bce3b3c6]:


222
223
224
225
226
227
228
229

230
231
232
233
234

235
236

237
238

239
240
241
242

243
244
245
246

247
248
249
250
251
252
253
222
223
224
225
226
227
228

229
230
231
232
233

234
235

236
237

238
239
240
241

242
243
244
245

246
247
248
249
250
251
252
253







-
+




-
+

-
+

-
+



-
+



-
+







** COMMAND: rss*
**
** Usage: %fossil rss ?OPTIONS?
**
** The CLI variant of the /timeline.rss page, this produces an RSS
** feed of the timeline to stdout. Options:
**
**   -type|y FLAG    may be: all (default), ci (show check-ins only),
**   -type|y FLAG    May be: all (default), ci (show check-ins only),
**                   t (show tickets only),  w (show wiki only).
**
**   -limit|n LIMIT  The maximum number of items to show.
**
**   -tkt HASH       Filters for only those events for the specified ticket.
**   -tkt HASH       Filter for only those events for the specified ticket.
**
**   -tag TAG        filters for a tag
**   -tag TAG        Filter for a tag
**
**   -wiki NAME      Filters on a specific wiki page.
**   -wiki NAME      Filter on a specific wiki page.
**
** Only one of -tkt, -tag, or -wiki may be used.
**
**   -name FILENAME  filters for a specific file. This may be combined
**   -name FILENAME  Filter for a specific file. This may be combined
**                   with one of the other filters (useful for looking
**                   at a specific branch).
**
**   -url STRING     Sets the RSS feed's root URL to the given string.
**   -url STRING     Set the RSS feed's root URL to the given string.
**                   The default is "URL-PLACEHOLDER" (without quotes).
*/
void cmd_timeline_rss(void){
  Stmt q;
  int nLine=0;
  char *zPubDate, *zProjectName, *zProjectDescr, *zFreeProjectName=0;
  Blob bSQL;