Face RSS Feeder App

Discussion in 'HOWTO-Related Questions' started by Mike Phillips, Nov 30, 2007.

  1. Mike Phillips

    Mike Phillips New Member

    Thanks for the great tut, it has come in very useful. I was just wondering if anyone could help me on one further addition I would like to make.

    Basically, using this code:
    $items = array_slice($rss->items, 0, $num_items);
    foreach ( $items as $item ) {
    You can control how many posts show in the application. Ideally I want to hand that control over to the user of the application.

    Basically, on a new tab, called options I would like the user to be able to choose from 5 radio buttons, labelled from 1 - 5. If the user selects 1, only one post is shown etc etc.

    Does anyone know how to go about doing that?
  2. Mike Phillips

    Mike Phillips New Member

    Also, I have run into a problem with UTF encoding. Namely that apostrophe's in my posts get parsed as question marks. This is down to the magpie script, but I have not been able to find a way around this. Has anyone else come accross this and found a solution?
  3. falko

    falko Super Moderator ISPConfig Developer

    Basically, you must pass on the user's selection to the Magpie script; $num_items should then contain the user's selection.

Share This Page