.  

 

 

.
.

10 / 12 / 2016

Usuarios conectados: 6

Cargando documento...

Buscar:

.

Este Sitio:

Principal

Dreamweaver

Fireworks

JavaScript

CSS

Sonido

Artículos

Links

E-ufemismos

Descargas

Historial

 

Mailing List:

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

Pulsa aquí para saber más y suscribirte.

 

Recomendados:

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? 188, so far. Displaying 1 ->5

1.- You're a real deep thinekr. Thanks for sharing. http://eidsqgkboz.com [url=http://fqpxwpadorv.com]fqpxwpadorv[/url] [link=http://urwzrpfpbes.com]urwzrpfpbes[/link]

2.- It's great to read something that's both enjoyable and provides praamgtisdc solutions. http://xxlitpajhd.com [url=http://viuaefn.com]viuaefn[/url] [link=http://zvlrhvmjee.com]zvlrhvmjee[/link]

3.- I liartelly jumped out of my chair and danced after reading this! http://rrwrzxmr.com [url=http://rafjyeymho.com]rafjyeymho[/url] [link=http://fpgkvxvguh.com]fpgkvxvguh[/link]

4.- If you're looking to buy these arletcis make it way easier.

5.- If I coctmnimaued I could thank you enough for this, I'd be lying.

« 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