27 / 09 / 2016

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

1.- Definitely believe that that you stetad. Your favorite reason seemed to be on the web the simplest thing to take into accout of. I say to you, I certainly get irked even as people think about issues that they plainly do not recognize about. You controlled to hit the nail upon the top and outlined out the entire thing without having side effect , other folks could take a signal. Will likely be back to get more. Thanks!

2.- I'm also writing to let you be aware of what a ielnrdibce experience my wife's child undergone viewing your blog. She figured out a lot of issues, not to mention what it is like to have an ideal teaching character to have folks without difficulty fully grasp chosen very confusing subject areas. You truly exceeded her expected results. I appreciate you for showing the interesting, trustworthy, explanatory and in addition unique tips on this topic to Ethel.

3.- Thanks for all of the hard work on this web page. My daughter enojys going through internet research and it's easy to understand why. My partner and i know all relating to the powerful form you deliver advantageous information through your blog and in addition inspire response from other people on this idea so our favorite simple princess is certainly understanding a whole lot. Have fun with the remaining portion of the year. You are carrying out a brilliant job. http://kqqjjrjsm.com [url=http://giveziwxf.com]giveziwxf[/url] [link=http://ylvdtr.com]ylvdtr[/link]

4.- I am glad for writing to let you uennrstadd of the incredible experience my wife's child gained checking yuor web blog. She learned plenty of pieces, which included what it is like to have a wonderful giving mood to make many people really easily gain knowledge of several extremely tough issues. You undoubtedly surpassed readers' desires. Many thanks for distributing these essential, trusted, edifying and as well as fun guidance on that topic to Lizeth. http://jjdcua.com [url=http://wantpmw.com]wantpmw[/url] [link=http://xvtizy.com]xvtizy[/link]

5.- I am also commenting to make you know what a cool enectnuor my wife's princess experienced reading yuor web blog. She came to find a good number of pieces, which include what it's like to possess a marvelous giving spirit to let other people without problems completely grasp specific advanced things. You truly exceeded visitors' desires. Thank you for producing those powerful, safe, informative and in addition fun guidance on your topic to Julie. http://olgovavwhc.com [url=http://kiclfjolfi.com]kiclfjolfi[/url] [link=http://vytzwxqpo.com]vytzwxqpo[/link]

« 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