You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 19-01-2014 20:59:50

makkaraseppo
Contributors
Registered: 10-01-2014
Posts: 11
Website

RSS

Hi there

It seems, there exists a plugin called «tilerss». Where can I get a version?

Thanks for information.


°°°°°°°°°°°°°°°°°°°°°

schienen.ch - Vorbild und Modell in Spur N

Offline

#2 27-01-2014 11:05:20

makkaraseppo
Contributors
Registered: 10-01-2014
Posts: 11
Website

Re: RSS

The longer I work with Metro UI template, the more I'm thrilled. As a donator, I also have access to «tilerrss». This plugin I would like used. Unfortunately I could not find any example in the forum, I have to define a tile:

$ tile [] = array("type"=>"custom","group"=>2,"x"=>0,"y"=>0,'width'=>1,'height'=>1,"background"=>"#0F6D32","url"=>"", .........
?>

Where can I find a real example? Thanks for help.


°°°°°°°°°°°°°°°°°°°°°

schienen.ch - Vorbild und Modell in Spur N

Offline

#3 27-01-2014 11:17:19

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: RSS

An RSS plugin existed for version 3. Didn't port it to version 4. I'll do that tomorrow or the day after smile Sorry for the waiting

Offline

#4 29-01-2014 13:54:51

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: RSS

Ok, here is the plugin: http://metro-webdesign.info/forum/viewt … 2902#p2902

please test and let me know your feedback

Offline

#5 29-01-2014 14:41:53

makkaraseppo
Contributors
Registered: 10-01-2014
Posts: 11
Website

Re: RSS

Hi Thomas

Thank you for the quick response and your work. I have tested the script here: http://www.sinun-on.ch/ax/ # & ground

[== PHP ==]
$ tile [ ] = array ( "type" => "RSS" , "group" => 2, " x " => 1, 'y' => 0 , 'width' => 2, 'height' => 1 , " background" => " # 333" , "url " = > "" ,
    "title " => "Title" , "feed " = > ' http://www.20min.ch/rss/rss.tmpl?type=channel&get=1 '
    " itemCount " => 3, / / number of items must be shown did
    "scroll" => true, / / shown them one by one (true) like scroll tiles OR show them all at once (false)
    "title limit" = > 150 , / / number of charactersin title , will be capped afterwards
    " descLimit " = > 60 , / / ...
    " showDesc ' => true, / / show descriptions under title
    " itemUrl ' => true, / / make title clickable to go to url of the item
    "img " => "", " imgAlt " => "", " imgTitle " = > "" , / / see normal " simple" tile
    " imgSize " => " 50 ", / / ...
    " imgToTop " => " 5" ,
    " imgToLeft " => " 5" ,
    "label text" => " RSS "
    "label color" => $ default label color ,
    " labelPosition " => $ default label position ,
    "classes " = > "" , );

It appears an error :

-------------------------------------------------- -----------------------------------

Warning: file_get_contents () [ function.file -get - contents.php ] : http:// wrapper is disabled in the server configuration by allow_url_fopen = 0 in / home / sinunon / public_html / ax / plugins / tilerss / rss_php.php on line 28

Warning: file_get_contents ( http://www.20min.ch/rss/rss.tmpl?type=channel&get=1 ) [ function.file -get - contents.php ] : failed to open stream : no suitable wrapper Could be found in / home / sinunon / public_html / ax / plugins / tilerss / rss_php.php on line 28

Warning : Invalid argument supplied for foreach ( ) in / home / sinunon / public_html / ax / plugins / tilerss / rss_php.php on line 87

Warning : Invalid argument supplied for foreach ( ) in / home / sinunon / public_html / ax / plugins / tilerss / plugin.php on line 55

-------------------------------------------------- -------------------------------------

I hope this information will help you to solve the problem.

Regards

makkaraseppo


°°°°°°°°°°°°°°°°°°°°°

schienen.ch - Vorbild und Modell in Spur N

Offline

#6 29-01-2014 14:54:24

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: RSS

Looks like your hosting has disabled the functions that are needed.
Is it a free host? Many free hosts won't allow such functions because of performance/security issues, but most paid hosts (and also some other free hosts) have them enabled.

Maybe you could contact the hoster to set allow_url_fopen = 1  ?

Offline

#7 29-01-2014 15:26:27

makkaraseppo
Contributors
Registered: 10-01-2014
Posts: 11
Website

Re: RSS

Hi

I have a paid hoster. So I will check out the posibilities..


°°°°°°°°°°°°°°°°°°°°°

schienen.ch - Vorbild und Modell in Spur N

Offline

#8 31-01-2014 15:58:55

makkaraseppo
Contributors
Registered: 10-01-2014
Posts: 11
Website

Re: RSS

Hi

I set allow_url_fopen = 1. Now the RSS-Tile works. Thank you!   tongue

My Site with RSS-Tile


°°°°°°°°°°°°°°°°°°°°°

schienen.ch - Vorbild und Modell in Spur N

Offline

Board footer

Powered by FluxBB