Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2008-10-23 14:12:23
- ian_ep
- Member
- Registered: 2004-02-29
- Posts: 25
Re: rah_sitemap
Great! Thanks – I’d missed that one …
Offline
Re: rah_sitemap
New version 0.3 out. Changelog:
- Added option to insert URLs that are outside Textpattern install directory.
- Fixed option to exclude categories directly by type: added forgotten link type.
Offline
Re: rah_sitemap
There you go. Thanks Jukka. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: rah_sitemap
I’m getting the following when I go onto the extensions tab:
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘noarticles’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘nosections’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘nocategories’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘articlecategories’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘articlesections’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘sections’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘categories’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘nofile’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘noimage’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘nolink’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
Warning: Field ‘value’ doesn’t have a default value insert into rah_sitemap_prefs set name=‘articlestatus’ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\quintectxp\textpattern\lib\txplib_db.php on line 81
And my settings aren’t being saved – any ideas what is causing this?
Offline
Re: rah_sitemap
And my settings aren’t being saved – any ideas what is causing this?
Somehow installation failed. Most likely is that it is possible that your server is just failing or you got MySQL version with bugs.
To fix this, drop rah_sitemap and rah_sitemap_prefs tables from db and install/download plugin again from Rahforum.biz
Last edited by Gocom (2008-10-24 20:16:46)
Offline
Re: rah_sitemap
I tried that – still the same problem, but I’m guessing that there’s something wrong with the server environment. (I’ve just tried it on a virtual machine development environment I had and everything was fine.)
When I get a few moments I’ll check the various versions and see if I can figure out the cause.
Offline
Re: rah_sitemap
Possibly cause is a bug in the MySQL. Verified number #38173 node.
That bug just yans and yans about the default value (that is unset).
Offline
Re: rah_sitemap
Thanks – I’ll check that first!
Offline
Re: rah_sitemap
minor bug in Custom sitemap URLs on “view” links which point to urls such as…
http://domain.com/txp-directory/http://domain.com/url/
the urls appear OK in the sitemap xml.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: rah_sitemap
colak wrote:
minor bug in Custom sitemap URLs on “view” links which point to urls such… …the urls appear OK in the sitemap xml.
Don’t suspect me, ofcourse those appear correctly in the sitemap ;D I just forgot to update the view-URL address from the old version 0.2 way to build them, now fixed :)
New version 0.3.2 released. Changelog:
- Fixed view url that still (from version 0.2) included installation address before link.
Last edited by Gocom (2008-10-25 19:50:16)
Offline
#41 2009-02-25 10:44:27
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
Re: rah_sitemap
Gocom wrote:
Gallex, affraidly your server is too outdated – it doesn’t support PHP date functions “c” format :/
To fix this, update to PHP 5.x.x+. :)
I like PHP 4.x :)
Fix: simple replace string
date('c',
to
date('Y-m-d\TH:i:s+00:00',
Last edited by makss (2009-08-11 21:05:13)
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#42 2009-02-25 11:14:01
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
Re: rah_sitemap
Request new feature, if it possible…
Option: “Exclude FUTURE posts” [ Posted > now() ]
fast hack ;-) /only exclude/
replace
$rs = safe_rows_start(‘ID, Posted, LastMod’,‘textpattern’,“Category1 not in($notcategory) and Category2 not in($notcategory) and Section not in($notsection) and Status not in($notstatus) order by Posted desc”);
to
$rs = safe_rows_start(‘ID, Posted, LastMod’,‘textpattern’,“Category1 not in($notcategory) and Category2 not in($notcategory) and Section not in($notsection) and Status not in($notstatus) and Posted<now() order by Posted desc”);
Last edited by makss (2009-02-25 11:15:16)
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: rah_sitemap
New rah_sitemap version, 0.4, released. This version brings some nasty new features. Changelog:
- Added support for custom permlink rules: Now you can easily set anykind of permlink rules for articles, sections and categories.
- Added option to exclude future articles.
- Added option to exclude past articles.
- Added option to exclude expired articles.
- Moved Custom URL UI to it’s own page.
- Added multi-delete feature to Custom URL UI.
- Improved Custom URL UI.
- Removed default static appending domain from Custom URL input field.
- Changed TXP minimum requirement to version 4.0.7 (and above). Note that the plugin still works with older TXP versions (down to 4.0.5) if the Exclude Expired articles -option is left empty (unset).
Image equals to 1,000 words:

Last edited by Gocom (2009-04-12 11:16:17)
Offline
Re: rah_sitemap
super Jukka, I have used your previous version a few times now and the plugin is really very useful and flexible, e.g. the ability to add custom links enables one to include other non-txp parts of a site or adapt it to custom htaccess rules.
One thing I did miss was the ability to exclude individual articles. Would it be possible to have a simple exclude articles field with a comma-separated list of article IDs? I’m thinking of a couple of situations:
- sometimes I’ll have a single article in it’s own section e.g. contact or impressum and just link to the section landing page. The user is never actually aware that one is seeing
site.tld/impressum/impressumor/contact/contactbut it is output in the sitemap. For the moment I added arel="canonical"in the hope that google stores only the address I want. - sometimes I’ll put introtext for a section at the top of a section landing page in an article rather than hard coding it into the page template so that the site authors can change it if they want to. This article is never meant to be read on it’s own. Again, here I’d like to exclude it from a sitemap.
- sometimes I’ll add a mem_moderation submit form that is for selected contributors but not linked to anywhere. Again, I’d like to leave this out of a sitemap.
Thanks for considering the request.
TXP Builders – finely-crafted code, design and txp
Offline
Re: rah_sitemap
jakob wrote:
One thing I did miss was the ability to exclude individual articles. Would it be possible to have a simple exclude articles field with a comma-separated list of article IDs? I’m thinking of a couple of situations:
Prehaps you could use sticky article status and exclude that from the list? Or give those articles a odd category which you exclude from the sitemap?
But for the request, that is coming in the future. It’s part of the major version 1.0 aka Bento Sitemap plans. There is probably one-two releases before that one, depending on the amount of bug reports. Feature is mostlikely integrated to article Write page and excluded articles can also be viewed/un-excluded from the Sitemap UI.
Offline