I have been messing about with Drupal today, an I like it alot.

I have configured it to import some news feeds from Moreover, this works fine, but when they are displayed the items are very hard to read.

Is there a way to format the way RSS feeds are displayed ?

Thanks

Matt

Comments

yes and no

By "hard to read", do you mean that they don't have bullet points, so it can be hard to tell what line of text belongs to what item in blocks?

I'm working on a patch for this for the CVS version of Drupal.

Extensive changes to import.module

I've done some extensive changes to the import.module. Please note that by using this code, upgrading to a new version may be tricky. Basically, I added a new "import_new" profile option in the profile.module. This allows a user to set an option to open a new web browser window, or reuse the existing window when they click on a news feed item. I also snagged a itty-bitty image of a newspaper, which is prepended in front of each news item.

I also changed the output to use tables, with alternating row colors. This works for me in the 4.1.0 release code. I know that the CVS code has better-ness for handling alternating table/row colors. If you don't hack up the profile.module to support the import_new option, that's okay, as the code will default to reuse existing windows. (almost) all changes I made have a comment above them of "// SYG ..." in the code.

You can get the newspaper image off of my website front page, pdxAdventureRacer.com. Code is available from http://www.tuna.org/import.module

v/r
Shane

thanks

I have used your import.module, but I just hardcoded the the target to new.

The alternating table does a fantastic job of clarifying headline changes, I ened up leaving out the icon.

total thanks.

target="_new"

Note that using target="_new" isn't a good idea. It doesn't keep users on your site, breaks the back button, is nasty for accessibility and is very presumptuous. If I want to open a link in a new window, I'll right click and do that myself - I don't want a web site doing it for me.

For these reasons, the target="_new" was removed from the import module for CVS (and I think Dries back-ported it to 4.1). Please see the mailing list post about this [1].

[1] http://lists.drupal.org/pipermail/drupal-devel/2003-March/022710.html