Tags:
create new tag
view all tags
#VarHEADLINES ---+++ HEADLINES{"url"} -- show RSS and ATOM feeds in TWiki pages * The =%<nop>HEADLINES{"url"}%= variable is handled by the HeadlinesPlugin. * Syntax: =%<nop>HEADLINES{ "http://..." }%= * Parameters: (all but the first one are optional) | ="..."= | Source of RSS or ATOM feed; this can be a URL (starting with http) or a <nop>web.topic location for internal feeds | | =refresh="60"= | Refresh rate in minutes for caching feed; ="0"= for no caching | | =limit="12"= | Maximum number of items shown | | =header="..."= | Header. May include these variables: %BR% \ - =$channeltitle=, =$title=: title of channel (channel.title) %BR% \ - =$channellink=, =$link=: link of channel (channel.link) %BR% \ - =$channeldescription=, =$description=: description (channel.description) %BR% \ - =$channeldate=, =$date=: publication date of the channel (channel.pubDate) %BR% \ - =$rights=: copyrights of the channel (channel.copyright) %BR% \ - =$imagetitle=: title text for site (image.title) %BR% \ - =$imagelink=: link for site (image.link) %BR% \ - =$imageurl=: URL of image (image.url) %BR% \ - =$imagedescription=: description of image (image.description) | | =format="..."= | Format of one item. May include these variables: %BR% \ - =$title=: news item title (item.title) %BR% \ - =$link=: news item link (item.link) %BR% \ - =$description=: news item description (item.description) %BR% \ - =$date=: the publication date (item.pubDate, item.date) %BR% \ - =$category=: the article category (item.category) | | =newline="$br"= | Convert newlines in feed; ="$br"= becomes =<br />= tag, default ="$n"= (newline) | | =filter="..."= | Filter out content from feed; for example to delete an encoded break tag specify ="&lt;br&gt;"= | | [[HeadlinesPlugin#Syntax_Rules][Details]] || * Example: =%<nop>HEADLINES{ "http://slashdot.org/slashdot.rdf" header="*[<nop>[$link][$title]]:* $description" format="$t* [<nop>[$link][$title]]" limit="4" }%= shows the latest Slashdot news in bullet list format * Category: ApplicationsAndComponentsVariables, ImportVariables * Related: HeadlinesPlugin
E
dit
|
A
nexar
|
Watch
|
Im
p
rimir
|
H
istórico
: r3
<
r2
<
r1
|
We
b
|
V
er tópico
|
Ra
w
edit
|
M
ais ações de tópico
Versão do tópico: r3 - 05 Nov 2015
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
Web TWiki
User registration
Usuários
Grupos
Índice
Busca
Alterações
Notificações
Fonte RSS
Estatísticas
Preferências
P
Ver
Raw View
Print version
Find backlinks
History
More topic actions
Editar
Editar modo texto
Attach file or image
Editar preferências do tópico
Marcar novo tópico pai
More topic actions
Referência do usuário
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Manutenção Administrativa
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categorias
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Iniciar sessão
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
E
dit
A
nexar
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Idéias, solicitações, problemas com relação ao TWiki?
Nos dê um retorno
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarHEADLINES
.