[TYPO3-english] Ameos - Formidable - Rss Parser - No Items to display

Luc Muller l.mul-nospam-ler at ameos.com
Tue Oct 21 18:09:36 CEST 2008


is your PHP5 server working with safe mode ON ?

at our office we're running both php 4 and php 5

maybe if you're in safe mode t3lib_div::getUrl do not work.

can you  check this point ?

Jogvan Olsen a écrit :
> Hi Again
>
> The server with TYPO3 ver 4.2.1 is running PHP5 - I can't get 
> ‘ameos_formidable_rss_parser’ to work here.
>
> The server with TYPO3 ver 4.1.5 is running PHP4 - on this server 
> ‘ameos_formidable_rss_parser’ works fine.
>
> Maybe is it the explanation…
>
> Regards
> Jogvan
>
>
> Luc Muller skrev:
>> hmmmmmmmm,
>>
>> this should mean, that there's no data in the feed, but i've tested 
>> the feed it's working on my installation.
>>
>> are you on a multilanguage website ? but normally, no locallization 
>> is enable for the flexform, it should not be this point either.
>>
>> this is what is done to get the Rss data.
>>
>> 1) getting the content of the URL with a standard TYPO3 function.
>> $rssData = t3lib_div::getURL($sRssPath);
>> 2) writing of the file. (this seems to work)
>> $this->writeXmlFile($sFilePath,$rssData);
>>
>> this makes me think that there is a problem with the 
>> t3lib_div::getUrl(); as $sRssPath is the URL you provide either via 
>> flexform or typoscript conf.
>>
>> if nothing shows up in the debug. you should configure DevIpMask, in 
>> the install tool>allconfiguration with you local or web IP to view 
>> the debug,
>>
>> on point that could be possible is that your webserver do not have 
>> access to the internet or something ?
>>
>> I really do not get the point of what is going wrong.
>>
>> can you tell me a bit more about your server ?
>>
>> strange.
>>
>> Luc
>>
>> Jogvan Olsen a écrit :
>>>
>>> I have tried the thing you suggest – but not much luck…
>>>
>>>
>>>
>>> With
>>> function writeXmlFile($sFilePath,$rssData,$bUTF8 = FALSE){
>>> An empty file is created in upload/tx_ameosformidablerssparser/ 
>>> (size 0 byte – showing size ‘—‘ in Quixplorer).
>>>
>>> With:
>>> function writeXmlFile($sFilePath,$rssData,$bUTF8 = TRUE){
>>> An empty file is created in upload/tx_ameosformidablerssparser/ 
>>> (size 3 byte)
>>>
>>>
>>> I have inserted ‘debug($rssData);’, but nothing shows up in FE – 
>>> neither |debug| nor any xml codes
>>>
>>> ------
>>> function writeXmlFile($sFilePath,$rssData,$bUTF8 = TRUE){   
>>> debug($rssData);
>>>     $rFile=fopen($sFilePath, "wb");
>>>     if($bUTF8 === TRUE) {                        fputs($rFile, 
>>> "\xEF\xBB\xBF" . $rssData);
>>>     } else {
>>>         fputs($rFile, $rssData);
>>>     }
>>>     fclose($rFile);
>>>     return false;
>>> }
>>> ------
>>>
>>> Install tools are set to this:
>>> $TYPO3_CONF_VARS['SYS']['devIPmask'] = '*'
>>> $TYPO3_CONF_VARS['SYS']['sqlDebug'] = '1'
>>> $TYPO3_CONF_VARS['FE']['debug'] = '1'
>>>
>>> -----
>>>
>>> I have also tried to install ‘ameos_formidable_rss_parser’ on a new 
>>> TYPO3 ver 4.2.1 installation – hosted by the same provider – on the 
>>> new installation I only installed:
>>>
>>> TemplaVoila!
>>> ameos_formidable
>>> MagpieRSS 0.72
>>> ameos_formidable_rss_parser
>>>
>>> Same result – ‘No Items to display’
>>>
>>> Then I installed ‘ameos_formidable_rss_parser’ on an older TYPO3 ver 
>>> 4.1.5 installation – also hosted by the same provider – here are the 
>>> fees perfect. This site also use uft-8.
>>>
>>> Is it possibly that something missing in the 4.2.1 installations – 
>>> is there something that has to be installed on the server, or 
>>> something must not be installed on the server?
>>>
>>> Regards
>>> Jogvan
>>>
>>>
>>>
>>> Luc Muller skrev:
>>>> hmmmm this seems very strange to me.
>>>>
>>>> it's not a problem with typo3 verison I've tested in 4.2.1 too. and 
>>>> lower 4.1.6 and other
>>>>
>>>> could you try this ?
>>>>
>>>> remember to always delete the file in 
>>>> upload/tx_ameosformidablerssparser/ before any test.
>>>>
>>>> in typo3conf/ext/ameos_formidable_rss_parser/pi1/xml/displayrss.xml
>>>> at line : 139
>>>> you got : function writeXmlFile($sFilePath,$rssData,$bUTF8 = TRUE){
>>>> modify with : function writeXmlFile($sFilePath,$rssData,$bUTF8 = 
>>>> FALSE){
>>>>
>>>> delete the file in upload
>>>>
>>>> and try again.
>>>>
>>>> if it's not working you can go back to TRUE and
>>>>
>>>> add a : debug($rssData);
>>>>
>>>> at the start of the function.
>>>>
>>>> there you should debug the rss data on your frontend.
>>>>
>>>> either it will print |debug| or a lot of xml stuff. (if nothing 
>>>> appear your debug is not properly configured, si devIpMask in the 
>>>> install tool)
>>>>
>>>> if we got no data, the problem is coming before the writing of the 
>>>> file.
>>>>
>>>> this would be a good start.
>>>>
>>>> thanks a lot
>>>>
>>>> Luc =:0)
>>>>
>>>> Jogvan Olsen a écrit :
>>>>>
>>>>> Hi
>>>>>
>>>>> I have installed my extension via ‘Ext Manager’ in this order:
>>>>> 1.    ameos_formidable
>>>>> 2.    MagpieRSS 0.72
>>>>> 3.    ameos_formidable_rss_parser
>>>>>
>>>>>
>>>>> The dependencies didn’t work for me eigther; I installed 
>>>>> ‘ameos_formidable’ anf ‘MagpieRSS 0.72’ manually.
>>>>>
>>>>> I have tried different feed, none of them work for me:
>>>>> http://ekstrabladet.dk/rss2/?mode=normal
>>>>> http://news.typo3.org/rss.xml
>>>>>
>>>>> The feed always display "no item to display" – it dosen’t change 
>>>>> anything if I select at category or not.
>>>>>
>>>>> The site I am workin on use
>>>>> TYPO3 - ver. 4.2.1
>>>>>
>>>>> Here is a list of all loadet plugins:
>>>>> Title:     Extension key:     Version:
>>>>> Basic SEO Features     seo_basics     0.5.5
>>>>> Context Sensitive Help     context_help     1.1.0
>>>>> Drag Drop Mass Upload     ameos_dragndropupload     3.1.0
>>>>> Extra Click Menu Options     extra_page_cm_options     0.1.0
>>>>> Folder selector for the Backend     rgfolderselector     0.0.1
>>>>> htmlArea RTE     rtehtmlarea     1.7.5
>>>>> Import/Export     impexp     0.3.0
>>>>> Internal notes     sys_note     1.1.2
>>>>> System language labels     lang     0.3.0
>>>>> TSConfig / TypoScript Object Reference     tsconfig_help     1.1.0
>>>>> TYPO3 CMS Frontend (TypoScript)     cms     1.1.0
>>>>> Versioning Management     version     1.2.0
>>>>> Help>About Modules     aboutmodules     0.1.0
>>>>> Tools>Config+DBint     lowlevel     1.2.0
>>>>> Tools>Install     install     0.1.0
>>>>> Tools>Log     belog     0.2.0
>>>>> Tools>User Admin     beuser     0.3.0
>>>>> Typo3 Quixplorer     t3quixplorer     1.7.0
>>>>> User>Setup     setup     0.1.0
>>>>> User>Task Center     taskcenter     0.2.0
>>>>> Web>Func, Wizards     func_wizards     0.2.0
>>>>> Web>Func, Wizards, Create multiple pages     wizard_crpages     0.1.0
>>>>> Web>Func, Wizards, Sort pages     wizard_sortpages     0.1.0
>>>>> Web>Info, Page TSconfig     info_pagetsconfig     0.1.0
>>>>> Web>Template     tstemplate     0.1.0
>>>>> Web>Template, Constant Editor     tstemplate_ceditor     0.1.0
>>>>> Web>Template, Info/Modify     tstemplate_info     0.1.0
>>>>> Web>Template, Object Browser     tstemplate_objbrowser     0.1.0
>>>>> Web>Template, Template analyzer     tstemplate_analyzer     0.1.0
>>>>> Web>View     viewpage     0.1.1
>>>>> Another simple gallery, show all imag...     chgallery     2.1.1
>>>>> CSS styled content     css_styled_content     0.4.0
>>>>> IEfix     iefix     0.0.1
>>>>> Indexed Search AutoComplete     cb_indexedsearch_autocomplete     
>>>>> 0.3.0
>>>>> RealURL: URLs like normal websites     realurl     1.4.0
>>>>> Ameos - Formidable - Rss Parser     
>>>>> ameos_formidable_rss_parser     1.0.1
>>>>> Indexed Search Engine     indexed_search     2.11.0
>>>>> Searchbox for Indexed Search Engine     macina_searchbox     2.2.0
>>>>> Ameos Formidable     ameos_formidable     1.1.0
>>>>> Keyword Highlighting     psm_highlight     1.1.2
>>>>> MagpieRSS 0.72     magpierss     1.0.1
>>>>> Static Info Tables     static_info_tables     2.0.7
>>>>> TemplaVoila!     templavoila     1.3.7
>>>>> TYPO3 System Services     sv     1.1.0
>>>>> Indexed Search Documentation and Refe...     
>>>>> doc_indexed_search     2.10.0
>>>>> TYPO3 skin     t3skin     4.2.0
>>>>>
>>>>>
>>>>> Regards
>>>>> Jogvan
>>>>>
>>>>>
>>>>>
>>>>> Luc Muller skrev:
>>>>>> One more question ?
>>>>>>
>>>>>> does the feed only display "no item to display" when you want to 
>>>>>> display a specific categorie ?
>>>>>>
>>>>>> as said in the manual.
>>>>>>
>>>>>>    *
>>>>>>
>>>>>>      Mag pie renders the rss channel categories in only one 
>>>>>> string, so
>>>>>>      it might be buggy to filter or multiple categories or to filter
>>>>>>      items that belongs to several categories.
>>>>>>
>>>>>> On my server. if a rss item is declared like in 
>>>>>> category1,category2,category3 and you only want to display 
>>>>>> category1 this won't work.
>>>>>> For the moment the rss parser do not work with item in multiple 
>>>>>> categories.
>>>>>>
>>>>>> I should patch this.
>>>>>>
>>>>>> Hope this help.
>>>>>>
>>>>>> Luc
>>>>>>
>>>>>> Jogvan Olsen a écrit :
>>>>>>> Hi again
>>>>>>>
>>>>>>> I just tried 'Ameos - Formidable - Rss Parser' on a site using 
>>>>>>> iso-8859-1 - On this site it works perfect. So it look like a 
>>>>>>> uft-8 problem...
>>>>>>>
>>>>>>> My problem is on the new site I am working on, I have to use 
>>>>>>> uft-8 - so I hope you will get it to work even on uft-8 sites...
>>>>>>>
>>>>>>> Regards
>>>>>>> Jogvan
>>>>>>>
>>>>>>> Jogvan Olsen skrev:
>>>>>>>> Hi Luc
>>>>>>>>
>>>>>>>> My site is on a Linux sever and my site is in utf-8.
>>>>>>>>
>>>>>>>> I am not a developer, and I don’t know how to output debug 
>>>>>>>> information – but if you guide me, I will send it to you…
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Jogvan
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Luc Muller skrev:
>>>>>>>>> Hmmmmmmm are you on a windows server or something ? vmware ?
>>>>>>>>>
>>>>>>>>> is your site in utf-8 ? or else ?
>>>>>>>>>
>>>>>>>>> there should be a problem with something like this.
>>>>>>>>>
>>>>>>>>> The point is that if the file is created everything should 
>>>>>>>>> work, it's a writing problem
>>>>>>>>> this is made with a simple fputs then it should work either.
>>>>>>>>>
>>>>>>>>> Can you tell me a bit more about those points. because I do 
>>>>>>>>> not get where the problem is as I can't reproduce it.
>>>>>>>>>
>>>>>>>>> As said previously :
>>>>>>>>>
>>>>>>>>> "If you are a developper, you can have a look in 
>>>>>>>>> ameos_formidable_rss_parser/pi1/xml/displayrss.xml
>>>>>>>>> around line 139 there is the function that write the file. "
>>>>>>>>>
>>>>>>>>> if possible could you make some debug of the data, to see 
>>>>>>>>> where the problem is.
>>>>>>>>>
>>>>>>>>> does the RSS data are empty before writing or is it really a 
>>>>>>>>> writing problem ?
>>>>>>>>>
>>>>>>>>> I really feel sorry for this, but I think I would need some 
>>>>>>>>> help for this point.
>>>>>>>>>
>>>>>>>>> Jogvan Olsen a écrit :
>>>>>>>>>> Hi
>>>>>>>>>>
>>>>>>>>>> I am trying to use ‘Ameos - Formidable - Rss Parser’ to 
>>>>>>>>>> display rss feed on my page – but I only get ‘No Items to 
>>>>>>>>>> display’
>>>>>>>>>>
>>>>>>>>>> When I use ‘TW RSS Feeds’ the feeds works as they suppose to, 
>>>>>>>>>> but I would like to use the option ‘Ameos - Formidable - Rss 
>>>>>>>>>> Parser’  give to only display specific categories. But I 
>>>>>>>>>> can’t get it to display anything…
>>>>>>>>>>
>>>>>>>>>> I get an empty XML file in /uploads/tx_ameosformidablerssparser.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> It looks like I have the same problem as described in:
>>>>>>>>>> news://lists.netfielders.de:119/mailman.1.1223624313.4787.typo3-english@lists.netfielders.de 
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Did you find a solution of the problem? Or does anybody have 
>>>>>>>>>> a hint?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I use
>>>>>>>>>> TYPO3 - ver. 4.2.1
>>>>>>>>>> Ameos - Formidable - Rss Parser - ver. 1.0.1
>>>>>>>>>> Ameos Formidable - ver. 1.1.0
>>>>>>>>>> MagpieRSS 0.72 – ver 1.0.1
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks in advance
>>>>>>>>>> Jogvan Olsen
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>>
>>>>>>>>> *Luc Muller*
>>>>>>>>> /Web Developper/
>>>>>>>>> /Formidable - Rapid Application Developpement Framework for 
>>>>>>>>> Typo3 <http://formidable.typo3.ug>/
>>>>>>>>> /Typo3 Ameos <http://www.ameos.com>/
>>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
>> -- 
>>
>> *Luc Muller*
>> /Web Developper/
>> /Formidable - Rapid Application Developpement Framework for Typo3 
>> <http://formidable.typo3.ug>/
>> /Typo3 Ameos <http://www.ameos.com>/
>>


-- 

*Luc Muller*
/Web Developper/
/Formidable - Rapid Application Developpement Framework for Typo3 
<http://formidable.typo3.ug>/
/Typo3 Ameos <http://www.ameos.com>/


More information about the TYPO3-english mailing list