chrisjinks
Forum Replies Created
-
Hi Shivaa,
To change the publication name in the code of the plugin please see the code below and replace the text PUBLICATION NAME with whatever you want…
$xmlOutput.= "\t\t\t\t<n:name>"; $xmlOutput.= "PUBLICATION NAME"; $xmlOutput.= "</n:name>\n";
That is hopefully the hack you where after, let me know how you get on.
Chris.
Forum: Plugins
In reply to: [Plugin: Google News Sitemap Generator] Moving the .XML to the Root DirectoryRoot directory is the highest level on your website…
i.e. https://www.yourwebsite.com/
You need a FTP client like Filezilla to FTP into your web server and move or create the google-news-sitemap.xml file in your root directory ( https://www.yourwebsite.com/google-news-sitemap.xml).
Once this is done you need to make sure it is writeable so that the contents is modified everytime you add a post etc. This is done again using an Filezilla – right click on the file, “File Permissions…” and change the numerical value to 777.
fneumeier is correct, put the following URL into your web browser (replacing https://www.yourdomain.com for your actual domain name ). Do not open the PHP file as it is not in the code.
https://www.yourdomain.com/wp-admin/options.php
Search for rss_language and change it to the 2 letter code of your desired language.
Forum: Plugins
In reply to: [Plugin: Google News Sitemap Generator] Incorrect namespace ErrorHi Guys,
Apologies about the delay in sorting this out. All fixed now, download the latest (v1.5) version and let me know how you get on.
Donations to keep this plugin alive are very welcome! ??
Chris
Forum: Plugins
In reply to: [Plugin: Google News Sitemap Generator] Incorrect namespace ErrorHi Guys,
Just to let you know that I am aware of this problem and will be amending the plugin as soon as possible but please remember that I do this for free and I am very busy with other commitments at the moment.
Chris.
* Sorry, should be: “$xmlOutput.= “nl”;” for the modification. *
Hi Betty,
The language is taken from the WordPress database option of ‘rss_language’ not sure how you update this from the WordPress dashboard?
You can either:
Change the value in the MySQL database to nl.
-or-
Modify line 177 of the file google-news-sitemap.php from “$xmlOutput.= get_option(‘rss_language’);” to “$xmlOutput.= nl;”.
Hopefully with the next update I will add this as an option in the WordPress Plugin control panel.
Chris.
Hi Guys,
Sorry for the delay, I have been working on the update and testing it. The latest Google guidelines are not great and took a while for Google Webmaster tools to accept the new format.
Should all be fixed and conforming to the new format now though, let me know how you get on and if you have any further issues.
Thank you for the couple of people contributed to this plugin, any further donations would be very much appreciated and help with any future updates.
Chris.
Hi Guys,
Sorry for the delay, I have been working on the update and testing it. The latest Google guidelines are not great and took a while for Google Webmaster tools to accept the new format.
Should all be fixed and conforming to the new format now though, let me know how you get on and if you have any further issues.
Thank you for the couple of people contributed to this plugin, any further donations would be very much appreciated and help with any future updates.
Chris.
@dailylatestnews: Please can you explain the problem you are having in more detail? Also what version of WordPress and what version of this plugin are you using?
@marcinpl: Please can you supply me with a direct hyperlink to your website & sitemap.
Chris
Hi dailylatestnews,
Thanks for letting me know, the plugin has now been updated to include the addition line of code.
Remember if you find the plugin useful please rate it! ??
Let me know how you get on with the new version (v1.3.1).
Chris
Hi,
I have just noticed that Google have updated the example Google News Sitemap on their help page below:
https://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=74288
The sitemap now includes this additional “<?xml version=”1.0″ encoding=”UTF-8″?>” line at the beginning of the sitemap.
dailylatestnews did Google Webmaster Tools accept your sitemap after manually editing the plugin script to include this line?
Chris
Forum: Plugins
In reply to: [Plugin: Google News Sitemap Generator] Question about this PluginYou need to be an authorised Google News publisher before you can make real use of this plugin.
More details about Google News Sitemaps and submission can be found using the link below:
https://www.google.com/support/webmasters/bin/topic.py?topic=10078
No, the two plugins do not conflict.
I think it must be something to do with the way you are submitting it to Google Webmaster Tools.
I run both versions with great results.
Chris
Hi arturius,
Yeah, Google News sitemap looks fine and I am glad you have now got it sorted out.
Please remember to rate the plugin if you find it useful!
Many thanks,
Chris