26 / 05 / 2017

Usuarios conectados: 3

Cargando documento...



Este Sitio:













Mailing List:

Suscríbete a la lista de correo, No practico spamming y ofrece algunas ventajas.

Pulsa aquí para saber más y suscribirte.



Tecnorama >Dreamweaver Extensions


PHP RSS Reader

Versión para imprimir | Translate this page

DW MX, MX2004 and DW8. PHP_MySQL Server Model: With this extension you can add RSS Readers to your documents without writing a single line of code.

There are lots of excellent classes to parse RSS files, but I wanted something that could be used with DW in design view, to keep full control of the design. Well, here it is. The only steps are:

  1. Create a new RSS Reader
  2. Add RSS elements to your document
  3. Repeat the region where you have placed your items

Requirements: To use this extension, you must have php with XML support 

As you can see, the steps are quite familiar: they are the same you follow to insert a Recordset.

What is a RSS?
RSS is a web content syndication format. It has a defined standard (which must conform the XML 1.0 specification) and it's used by lots of sites, so users can link to their content without worrying about updates. You can find quite a lot of them here.

How the extension works:
The steps are quite simple if you're used to work with Recordsets. This is what you will  see in your Server Behaviors panel when the extension has been installed:

As you can see, there are lots of elements to work with. Those marked as "Optional" are not always present in the RSS feeds, so you must check if they exist first.

Alternatively, you can choose the RSS Insertbar, added by the extension: It has the same features as the Server Behaviors, but it's a bit more visual:

The Channel Elements define the RSS properties and they're common to the whole file. The Item Elements are repeated across the file (they are the articles).

Let's see the steps:

1.- Create a new RSS Reader: You must give it a name and add the URL where the RSS file is located:

2.- Add channel elements to your document: for example the RSS image (I know that the RSS file has one). Note that I must use the same name that I defined when I created the New RSS Reader:

3.- Add more elements: When you have finished, you can have something like this (we placed them in a table)
Note that DW can translate them as if they were recordset items. This way you can apply styles to them or whatever you want. The image is just a placeholder, so don't worry about it:

4.- Add a link to the Item's title: This way, when the user clicks on it, it will be redirected to the URL where the full article is located:

5.- Select the Table Rows that contain the Item's title and description and apply 'RSS Item Repeat Region': You can choose how items should be displayed.

6.- It's over!: This is a finished RSS Reader without writing a line of code:

7.- See it in action: Click here to see a RSS Reader built with this extension

Version History:
- v 1.2.0 (July, 24 2006):Improved Translators and Insertbar added
- Current Version: 1.3.0 (Dec,21 2006):Fix for international Characters (support for UTF-8 and ISO-8859-1 documents)

You can download the extension here

Comments? 2600, so far. Displaying 1 ->5

1.- catabolic
- steroids bodybuilding

- [url=https://anabolicsteroidsnpc.com/]anabolism and catabolism

2.- wh0cd505953 [url=http://nexiumnorx.us.com/]nexium[/url] [url=http://acyclovir400mg.us.com/]Acyclovir 400 Mg[/url] [url=http://cialisnorx.us.com/]cialis no rx[/url]

3.- buy steroids
- define anabolism

what are anabolic steroids
- [url=https://anabolicsteroidsnpc.com/]is cholesterol a steroid

4.- anabolic definition
- anabolism

- [url=https://anabolicsteroidsnpc.com/]anabolic steroids definition

5.- anabolic fasting
- anabolic steroids

anabolic steroids side effects
- [url=https://anabolicsteroidsnpc.com/]legal steroids

« Previous | 1 - 5 | 6 - 10 | 11 - 15 | 16 - 20 | 21 - 25 | 26 - 30 | 31 - 35 | 36 - 40 | 41 - 45 | 46 - 50 | Next »

Add your Comments

Escribe el código de la imagen superior:


TECNORAMA es simplemente una página personal. No sirve ni de promoción del autor ni cosas por el estilo.
Todos los códigos, textos y tutoriales son de libre uso mientras se mencione al autor (no es mucho pedir)
Este sitio es compatible con IE6/NS6/Mozilla1.0
Para contactar, puedes enviarme un e-mail a tecnorama@hotmail.com