Inscreva-se e colabore nesta página do Boletim Sambrasense, o site livre sobre São Brás de Alportel.

Ajuda:Extensão RSS

Da wiki Boletim Sambrasense
Revisão em 13h55min de 21 de fevereiro de 2010 por Admin (Discussão | contribs)
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
Ir para: navegação, pesquisa

A Extensão RSS permite inserir listas de conteúdos nas páginas do Boletim Sambrasense, a partir de ficheiros RSS.

Exemplo

<rss>http://rss.slashdot.org/Slashdot/slashdot|charset=UTF-8|short|max=5</rss>

http://rss.slashdot.org/Slashdot/slashdot é o endereço do feed RSS do site Slashdot.

Lista de parámetros

(Em inglês)

charset=                The charset used by the feed. iconv is used to convert this.
short                   Do not show the description text for each news item.
date                    Shows date/time stamp for each news item.
max=x                   Shows x most recent headlines.
highlight= term1 term2  The terms separated by a space are highlighted.
filter= term1 term2     Show only RSS items containing at least one of the terms.
filterout= term1 term2  Do not show any RSS items containing any terms
reverse                 Display the RSS items in reverse order

This extension supports filtering-out (i.e. grep -v) items based on title when in short list mode. It only displays unique titles

Mais informação: