New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

publish from the command-line does not translate links in feeds from HeadlinesPlugin

When published from the command-line, links in feeds from the HeadlinesPlugin aren’t translated to html links and still point to the wiki. This is not an issue when published from the wiki using a web browser, even when the options passed to publish are identical.

For example, with:


the following does not handle news or events items properly:
perl -T rest /PublishPlugin/publish web=$webname topiclist=WebHome ${PUBOPTIONS}

while this does.
curl ';web=$webname;topiclist=WebHome;${PUBOPTIONS}'

And here’s a diff comparing the links:
< <article><h1><a href="/Home/NewsAndEvents/JobsCornell23641" target="_top">Mechanical Design-Drafter (Drafter III)</a></h1></article>
< <article><h1><a href="/Home/NewsAndEvents/JobsAcad3676" target="_top">Postdoctoral Associate</a></h1></article>
< <article><h1><a href="/Home/NewsAndEvents/JobsAcad2253" target="_top">Assistant Professor</a></h1></article>
> <article><h1><a href="../NewsAndEvents/JobsCornell23641.html" target="_top">Mechanical Design-Drafter (Drafter III)</a></h1></article>
> <article><h1><a href="../NewsAndEvents/JobsAcad3676.html" target="_top">Postdoctoral Associate</a></h1></article>
> <article><h1><a href="../NewsAndEvents/JobsAcad2253.html" target="_top">Assistant Professor</a></h1></article>

-- DevinBougie - 02 May 2014

The format of PUBOPTIONS passed in the rest call is invalid; parameters have to be separated by spaces, not semicolons.

-- Main.CrawfordCurrie - 07 May 2017 - 09:11

QuestionForm edit

Subject Using an extension
Extension PublishPlugin
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r2 - 07 May 2017, CrawfordCurrie - This page was cached on 19 Sep 2018 - 22:48.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy