• Hi, I am using hungryFEED to display an rss feed from a provider. The feed changes languages based on the parsing software. That is to say if i paste the link into Firefox the feed displays in the language that Firefox is set in. I pasted the feed into hungryFEED on wordpress and I would like to change the language to Norwegian hoping that the rss feed will also display in Norwegian. I searched the settings to no avail, I ended up searching the plugin folder where I found ‘Accept-Language’ => ‘en-us,en;q=0.5’, in phpQuery-onefile.php. So my question is: Can I change the language here and if I would like to set it to Norwegian what is the language code for that.

    MAny thanks

    https://www.ads-software.com/plugins/hungryfeed/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jason

    (@verysimple)

    It looks like that is an unanswered feature request in SimplePie (the RSS reader built into WordPress) https://github.com/simplepie/simplepie/issues/181

    I looked briefly into it and it seems like it might be possible to call set_file() method on the SimplePie feed object before making the request. However it seems that normally SimplePie does that internally and does a whole bunch of setup to make sure that SimplePie_File object gets instantiated properly. I would probably feel comfortable putting it in if there was any documentation anywhere on SimplePie and custom request headers. I cannot seem to find anything about it though.

    Maybe you and I could both bug them a little bit about it and then that will allow me and others to start implementing it without having to put in a hack? At the moment it looks like even putting in an ugly hack, I’m not sure exactly where to hook into Simplepie to supply the header.

    Thread Starter anthonyAK

    (@anthonyak)

    Thank you for your response. I will get to bugging them right away. I can’t even find a way to get an “ugly hack” working though…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HungryFEED change the language’ is closed to new replies.