Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2005-04-14 05:32:01

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

Anybody gotten the sgb_url_handler working with IIS? I see someone who has gotten it to work with Apache on Windows, but not IIS in particular.

Offline

#92 2005-04-14 10:46:15

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

This is just superb – thanks!


Cheers,
Jon VC#9

Offline

#93 2005-04-15 16:54:15

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

sgb – Great plugins! I think I might have said that before. Anyway…

An idea for sgb_error_documents. Might be a nice feature if the site admin was automatically emailed to notify them of errors that are handled by the plugin. The email could include the time, URL, etc. Might be a nice way to help identify and fix missing pages or server errors. It also might help to alert you of anyone trying to sniff out directories to cause mischief.

Thanks again.

Offline

#94 2005-04-16 15:54:50

sungodbiff
Archived Plugin Author
Registered: 2004-03-23
Posts: 57
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

All -

0.1.7 is currently going through the final paces. I’m adding a custom URL format configuration deal. It’s a little different than zem_rewrite, in that it supports “best matches” and per-section URL modes (this is used for issuing 301s).

Wilshire thanks for the suggestion, I’ll add an option to attach an email event to specific error codes, e.g. when a 404 is triggered send an email. It might not make it into the next release (it would be easy to add, but I want to make it configurable since you may not want the emails for every 404 or 403 or whatever).

Thanks,

- sgb

Offline

#95 2005-04-16 16:04:54

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

sgb, sounds great. Can’t wait to see it!

Offline

#96 2005-04-16 23:25:32

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

has there been any talk as to incorporating this behavior into the core txp build by default (optionally enabled, of course)? seems pretty close to what i described here

Offline

#97 2005-04-18 12:27:12

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

sgb – Sounds good. Looking forward to the next release.

One more thing…I seem to ba having a problem using rss_suparchive with /year, /year/month and /year/month/day URLs. Your plugin is picking this up as an invalid URL and returning a 404.

Is this something that I will be able to work around in the next version?

Offline

#98 2005-04-18 12:32:09

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

I’m also having this problem. Would love to have these two great plugins working together.

Offline

#99 2005-04-18 23:26:19

sungodbiff
Archived Plugin Author
Registered: 2004-03-23
Posts: 57
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

All -

0.1.7 is almost ready. I’m tweaking. I want to make sure I cover all the bases before releasing this beast unto the world (beast may be a bit strong, but it’s got a couple of new features that will hopefully make the wait worth while!).

- sgb

Offline

#100 2005-04-19 07:28:17

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

It certainly sounds worthwhile!

Offline

#101 2005-04-19 12:57:04

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

sgb – Another question. Will the new version support URLs in example.com/section/id format? This resolves the same as example.com/section/id/title in the base TXP code but your plugin returns a 404. Thanks! Can’t wait to see the new version.

Oh and also, was there a 0.1.6 that I missed? The last version I found was 0.1.5.

Offline

#102 2005-04-19 22:37:18

sungodbiff
Archived Plugin Author
Registered: 2004-03-23
Posts: 57
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

Wilshire -

0.1.7 supports custom URLs, so it’ll support anything you can throw at it (in theory)!

0.1.6 exists but I never released it, 0.1.7 was started so quickly I figured it wouldn’t be worth it to release them back-to-back.

:)

- sgb

Offline

#103 2005-04-20 03:33:16

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

sgb – how do your per section URL scheme’s work? I’ve hacked up (quite lightly actually) the latest revisions of RC3 to allow for different section’s to have different URL schemes, and also have the ability to change the scheme from the Section administration. I was hoping to be able to remove all the hacked portions of publish.php (obviously the administration stuff would remain. But it’s about three lines of new code and an small function), and just use a custom permlinkurl function.

Offline

#104 2005-04-20 08:09:32

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

greenrift, you might want to look at mic_permlink, but to edit it per section sounds really nice too, instead of different articleforms for each section


Johan Nilsson

Offline

#105 2005-04-21 00:34:19

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

SGB, first of all thanks for the plugin, it’s a life saver! =)

I would like to ask something you refer in this thread’s first page, the “about/this-site/this-site” example. On my site I have a category structure that is repeated in every section. Something like: Section1
  • CatA
  • CatB
  • CatC
Section2
  • CatA
  • CatB
  • CatC

In each section, there’s only one article per category and it has the same URL-only title as the category name. So mysite/Section1/CatA and mysite/Section1/CatA/CatA show exactly the same content.

When I hit mysite/Section1/ I see all articles submitted in that section but mysite/CatA/ shows me the article that has CatA as URL-only title and not all articles in category CatA across sections.

Is there any way to change this so that it only looks for article URL-only title names after looking for a match in category names?

Thanks! =)

Offline

Board footer

Powered by FluxBB