- Posts: 4
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple RSS Feed Reader
- date of rss item don't appear in browser
date of rss item don't appear in browser
- michel
-
Topic Author
- Offline
- New Member
I relly don't understand why !
i choose "Feed item date & time to Show" but date don't appear in the code souce in the front side ( in html page ) .
i remove if($feedItemDate): but still have <span class="srfrFeedItemDate"></span>
i don't know if it relative to isset ? and PHP
I use Joomla! 2.5.8 + PHP 558
Please Log in or Create an account to join the conversation.
- michel
-
Topic Author
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
PHP 5.5 is fine.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- michel
-
Topic Author
- Offline
- New Member
- Posts: 4
i have in joomla backend Site -> system information
-php 5.5.8
-joomla 2.5.8
there is 10 items with date locate at "h3 .lastUpdated"
perhaps the problem come from
-I have also a chrome module where php call title and content only .
-I use falang to have fr & en language
I think perhaps we need to define a new date format ?
i.imgur.com/DypD9LE.png
i.imgur.com/6qyh8AS.png
regard's
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
Check the module settings for the date relevant options. Ensure that you have not used an invalid format in the date format option.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- michel
-
Topic Author
- Offline
- New Member
- Posts: 4
The remote server use php 5.5.18. Thus i could say that local and remote setting are the same .
The issue must come from lower level : php version ?
regard's
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Inze A. Markogiannopoulos Th. ΟΕ
-
- Offline
- New Member
- Posts: 4
I have a problem like that.
here is my rss feed . I didn't managed to appear the date and time of publication even ifthere is the xml tag <pubDate> in source code.
When I also parse the above feed with this validator I get various issues.
My joomla version is 2.5.28 and k2 version is v2.6.9
it is a bug or something I doing wrong?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You can try burning this feed with Feedburner so you can have a valid feed.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Inze A. Markogiannopoulos Th. ΟΕ
-
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
The issue is on the feed generation not in the module. The generated feed contains date in Greek language which of course is invalid.
I saw that you are using K2 for generating the feeds. K2 does not modify the date. The issue probably occurs when Joomla! is trying to format the data before displaying the feed. Ensure that you are using an up to date version of Joomla!. Since you are under Joomla! 2.5 series you should be using 2.5.28.
If you already use the latest version then something is wrong with either your PHP version or your server's setup.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Inze A. Markogiannopoulos Th. ΟΕ
-
- Offline
- New Member
- Posts: 4
My joomla version is already on 2.5.28 and the k2 version on 2.6.9
Ok there is the <pubDate> (on the Greek language of course) in source code but why it doesn't appear on the feeds after burred on feedburner. Is also this "Greek" problem?
Can you indicate me the php joomla file that is responsible to format the data before display in the feed. I think that I translated the labels that use the feeds' php file...
Thank you in advance.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
github.com/joomla/joomla-cms/blob/2.5.x/libraries/joomla/document/feed/renderer/rss.php#L209-L214
This is calling the Joomla! date format function:
github.com/joomla/joomla-cms/blob/2.5.x/libraries/joomla/utilities/date.php#L564-L567
Note that is strongly NOT recommended to modify any of the core Joomla! files.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Inze A. Markogiannopoulos Th. ΟΕ
-
- Offline
- New Member
- Posts: 4
I got the problem. In the github.com/joomla/joomla-cms/blob/2.5.x/libraries/joomla/utilities/date.php file there is the "dayToString" function that probably is involved and gets labels from en-GB.ini and el-GR.ini files. So, after I turned the labels in english into el-GR.ini file, the feed is validated. .
There are some minor mistakes in the text of feeds but is still valid. The problem now is that on the frontend the page renders the dates in english but the frontend laguage is set in Greek language
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
<?php echo JHtml::_('date', $feed->itemDate, JText::_('DATE_FORMAT_LC2')));
Ensure that you have set the format in the module options to :
%Y-%m-%d %H:%M:%S
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- Simple RSS Feed Reader
- date of rss item don't appear in browser