homejoomlablogministries
articles
guides
tutorials
all
forum

Learning Joomla! for the first time? Buy the Joomla! 1.5 Essential training CD-ROM or watch it on Lynda.com.

 

I am speaking at OpenCamp 2010 in Addison, TX


Welcome to Joseph LeBlanc's Joomla development forum. This forum is primairly intended to discuss the development of components I've authored, such as the podcasting suite and Daily Message tutorial. Although I happily answer general questions about Joomla, you may get quicker answers by searching the Joomla forums.

Due to spam abuse, you must register to post in the forums. However, you are allowed to browse the forums without registration. Commercially-oriented, off-topic messages are $100 per word, thank you for understanding!






FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
iTunes Podcast XML display wrong language (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: iTunes Podcast XML display wrong language
#2613
linuxlux (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
iTunes Podcast XML display wrong language 1 Year, 6 Months ago Karma: 0  
Hi all!
First of all thanks for this very nice component.
I have only one problem ....
My podcasts are ok for iTunes but the feed has the wrong language setting for iTunes -> <language>en-GB</language>
So iTunes say my podcast is in english - but my podcast is in german language.
Where i can change the xml output to <language>de-DE</language> ?
Thank´s a lot for your help!
Chris


See whole XML here:

Source: http://www.jagd-tirol.at/index.php?option=com_podcast&view=feed&format=raw

1. <?xml version="1.0" encoding="UTF-8"?>
2. <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
3. <channel>
4. <title>Jagd Tirol</title>
5. <link>http://www.jagd-tirol.at/</link>
6. <language>en-GB</language>
7. <copyright>(c) 2009</copyright>
8. <itunesubtitle>Jagdthemen</itunesubtitle>
9. <itunes:author>Jagd Tirol</itunes:author>
10. <itunes:keywords>Jagd, Tirol,</itunes:keywords>
11. <itunesummary>Informationen zur Jagd in Tirol. Info, Geschichten, Erfahrungen, Erzählungen hier als Podcast erhältlich.</itunesummary>
12. <description>Informationen zur Jagd in Tirol. Info, Geschichten, Erfahrungen, Erzählungen hier als Podcast erhältlich.</description>
13. <itunes:owner>
14. <itunes:name>Christoph Martin</itunes:name>
15. <itunes:email>linux.christoph@gmail.com</itunes:email>
16. </itunes:owner>
17. <itunes:image href="http://www.jagd-tirol.at/images/stories/jagdtirolpodcast.jpg"/>
18. <itunes:category text="Sports &amp; Recreation"/>
19. <itunes:category text="Games &amp; Hobbies"/>
20. <itunes:category text="Society &amp; Culture"/>
21. <item>
22. <title>1 Jagdtirol - Auslandsjagd</title>
23. <itunes:author>Jagd Tirol </itunes:author>
24. <itunesubtitle>Auslandsjagd - Wer, Wie, Wo ?</itunesubtitle>
25. <itunesummary>Audiopodcast Teil 1: Auslandsjagd&#13;
26. Wie, warum , wo? Erfahrungen zur Auslandsjagd erklärt von Ernst Rattin.&#13;
27. Wir freuen uns über Kommentare hier. Bilder von der Jagd in Namibia findest du hier.&#13;
28. Einfach auf das Abspiel Symbol klicken oder als Podcast abonieren.&#13;
29. &#13;
30. </itunesummary>
31. <enclosure url="http://www.jagd-tirol.at/components/com_podcast/media/Jagdtirol_1.mp3" length="42169329" type="audio/mpeg"/>
32. <guid>http://www.jagd-tirol.at/components/com_podcast/media/Jagdtirol_1.mp3</guid>
33. <pubDate>Tue, 10 Feb 2009 20:54:44 +0100</pubDate>
34. <itunes:duration>43:56</itunes:duration>
35. <itunes:keywords>Jagd, Auslandsjagd</itunes:keywords>
36. </item>
37. </channel>
38. </rss>
39.
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/11 13:32 By linuxlux.
  The administrator has disabled public write access.
#2620
jleblanc (Admin)
Admin
Posts: 1040
graph
User Offline Click here to see the profile of this user
Re:iTunes Podcast XML display wrong language 1 Year, 6 Months ago Karma: 32  
Thanks for using the suite! At the moment, the Podcast Suite tries to determine your language based on the Joomla! installation's language. If your Joomla! installation is set to German, this shouldn't be a problem. However, if it is set to English, the feed will publish as English.

One thing I haven't considered before is that you may have separate podcast feeds for different languages. With multiple languages, at least one would differ from the Joomla! site's default language.

Please let me know whether this is your case or whether resetting the Joomla! default fixes it. I'll consider making this an optional override in the next version.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2986
source (User)
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Re:iTunes Podcast XML display wrong language 1 Year, 2 Months ago Karma: 0  
Hi ! I make a little up...
I have the same problem of language and did not see it was solved.
Thanks for that great component : my feed has been immediately approved by iTunes but it says it's in english whether it is in french...
Thanks for helping !

Woups : here the podcast url
http://jerusalem.cef.fr/index.php?option=com_podcast&view=feed&format=raw
and on iTunes :
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=319484499
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/06/09 03:25 By source.
  The administrator has disabled public write access.
#2988
jleblanc (Admin)
Admin
Posts: 1040
graph
User Offline Click here to see the profile of this user
Re:iTunes Podcast XML display wrong language 1 Year, 2 Months ago Karma: 32  
@source

What is the default Joomla! language set to for the frontend and backend of your website?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2990
source (User)
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Re:iTunes Podcast XML display wrong language 1 Year, 2 Months ago Karma: 0  
Hi, thanks for answering. Sorry i forgot to say it : it is french of course.
Source
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2991
jleblanc (Admin)
Admin
Posts: 1040
graph
User Offline Click here to see the profile of this user
Re:iTunes Podcast XML display wrong language 1 Year, 2 Months ago Karma: 32  
Do you see these two lines in components/com_podcast/views/feed/view.raw.php?

$lang =& JFactory::getLanguage();

$xw->writeElement('language', $lang->getDefault());

If so, it *should* be working.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop