RE: R: [Rainbowportal-devel] Beta Testers Wanted - HttpHandler, New MultiLanguage Capabilities
Brought to you by:
danijel_kecman,
manudea
From: John M <how...@ho...> - 2003-07-15 13:34:18
|
Hi Jes, Nahh meant it like that: New method: * sports=1234/news=123/golf=32 is for when you are passing additional parameters via url builder ;-) "=" then gets converted into whatever your default seperator is be it "__" or "," If anyone can think of any others can they please send them to this list like jes suggested (Could then add it as part of the comments for this setting to give you all a wider choice). I was going to release it now (Just tidied up some final points) but since I am currently packing for London I thought I would hold off until I settle there (Staying there for two weeks) before commiting in case anyone runs into problems. If you would like access to the dlls and some examples of how it works you can download the Rewrite.Net Engine (Which includes the Rewrite.Rules.Rainbow dll) from http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=a69f7838-dda3-47a9-a572-648612211a6e Regards, John >From: "Jeremy Esland" <es...@ma...> >To: "'John M'" ><how...@ho...>,<rai...@li...> >Subject: RE: R: [Rainbowportal-devel] Beta Testers Wanted - HttpHandler, >New MultiLanguage Capabilities >Date: Tue, 15 Jul 2003 14:20:43 +0100 > >Nice work John. > >At the end of your message you meant to say: > > New method: > > * sports__1234/news__123/golf__32 ;-) > >I have tested the (penultimate) release and it all seems to work nicely. >I will say that I don't like the "double underscore" choice for the >splitter. Firstly, it is not obvious to the non-techie that it is >doubled. Second, the non-techie is unfamiliar with this character, since >it is has no "real world" use. Thirdly I just think it looks nice. I >have configured my sites with a comma character "," as the splitter. >Although I have not confirmed that SEs will see this as a word >separator, it would strike me as entirely logical that they should, so >I'm gambling on it ;-) > >Perhaps we can all put our heads together and devise a list of suitable >characters or character combinations, for inclusion in the final >documentation. Suggestions to this list, please. > >As we've discussed on IM, my suggestions for future enhancements to this >tool are: > >1) to allow the final [filename].aspx to carry a parameter value: > > /tabid__1234/news/sports/week__32/story__us-open.aspx > > or > > /tabid,1234/news/sports/week,32/story,us-open.aspx > > This makes for "logical" use of the filename in some scenarios. > Since the filename itself is otherwise "redundant", it seems > logical to me to make use of it. > >2) to allow a table of translations for parameter names: > > For example... > tabid = p > alias = a > lang = c > > so that: /tabid,1234/alias,myportal/lang,en-GB/default.aspx > > could be written as: /p,1234/a,myportal/c,en-GB/default.aspx > > or even: > tabid = pagina > alias = apelido > lang = idioma > > so that a webmaster could have truly globalized URLs for a > site ;-) > > The overhead for this should be very low, with the settings embedded > in web.config along with the others. > >Once again, though, well done! > >Jes1111 > > > > > >-----Original Message----- >From: rai...@li... >[mailto:rai...@li...] On Behalf Of >John M >Sent: 15 July 2003 11:16 >To: ma...@du...; rai...@li... >Subject: Re: R: [Rainbowportal-devel] Beta Testers Wanted - HttpHandler, >New MultiLanguage Capabilities > >Hi Manu, > >The handler engine currently has 2 rules. > >* RewriteRules.Rainbow.DefaultRule >* RewriteRules.Rainbow.LegacyRule > >In Rainbow.config you had the following main settings (there was an xml >handler as well but it wasnt finished...I'll be creating a rule for that >in >the future once it is more flexible): > ><add key="HandlerFlag" value="go" /> ><add key="UseAlias" value="true" /> ><add key="LangInURL" value="true" /> ><add key="HandlerTargetUrl" value="DesktopDefault.aspx" /> ><add key="KeywordSplitter" value="false" /> > >All of these apart from keyword splitter are still used (Keyword >splitter is >now a legacy method used by the LegacyRule) and I would keep the same >values >for usealias and langinurl that you had previously (if you change them >and a >search engine indexed an old url that old url would no longer work - >this is >no longer an issue with the new rule). > >There is now a slight change in the way "HandlerFlag" is used. Before it >use >to be fed into UrlBuilder and also be used by the HttpHandler. > >Now "HandlerFlag" is only used by UrlBuilder. The reason I did this was >to >make it flexible. Each rule has it's own entry in web.config and has >it's >own settings: > >E.g. > ><RainbowDefaultRule HandlerFlag="portal"/> ><RainbowLegacyRule HandlerFlag="go" KeywordSplitter="false" /> > >If your old portal has always had the HandlerFlag as "go" and >KeywordSplitter=false then you should make the settings in the >RainbowLegacyRule Reflect this as above. > >The New default rule has a HandlerFlag setting of "portal" (as an >example). >If you change the Rainbow.Config HandlerFlag setting to "portal" (used >by >UrlBuilder) all new urls will be caught by the Default Rule. > >There is one last thing. There is a new setting in Rainbow.config: > ><add key="HandlerDefaultSplitter" value="__" /> > >This is the splitter that will be in the url generated by UrlBuilder. >e.g. > >www.mydomain.com/portal/tabid__123/alias__myalias/lang__en/default.aspx > >I recommend playing around with the setting and picking a favourite one >to >use on your portals. I do not recommend using a single _ as filenames >use a >single _ or - and you dont want to confuse the handler. Experiment and >find >one that suits you (This should be a constant setting as once it has >been >indexed by search engines it can cause problems down the road if you >change >the default splitter). > >The new way to pass additional attributes has changed: > >Before: > >* sports1234/news123/golf32 - Using Jes' Keyword Splitter > >Or > >* sports=1234&news=123&golf=32 (default method) > >the keyword splitter method was fine if you only wanted to pass numeric >values, the default way caused problems with UrlScan (and I have heard >.Net >1.1). > >New method: > >* sports=1234/news=123/golf=32 > >I have added support for the standard default method e.g >sports=1234&news=123&golf=32 gets transformed into the new >version.....so >the shopping cart now works even with UrlScan. I would prefer if >everyone >would start using the new method though ;-) > >Anyway, I hope that lets everyone know more or less what the new Handler >is >about. > >Regards, > >John > > > > > >From: "manu" <ma...@du...> > >Reply-To: <ma...@du...> > >To: "'John M'" > ><how...@ho...>,<rai...@li...> > >Subject: R: [Rainbowportal-devel] Beta Testers Wanted - HttpHandler, >New > >MultiLanguage Capabilities > >Date: Tue, 15 Jul 2003 10:29:09 +0200 > > > >Hi John, > >I have not tested your handler yet but I have only a quick question. > >We have in place the current handler for many months now. > >Are the old urls compatible with the new one? > >Could we move to new urs without the url in search engines broke? > >How we achieve this? > > > >Thanks for your work. > > > > > >------------------------------------ > >Emmanuele De Andreis > >Technical Manager > >DUEMETRI > >Internet Solutions Provider > >RAINBOW PORTAL > >Main portal - http://www.rainbowportal.net > >Sourceforge CVS - http://sourceforge.net/projects/rainbowportal/ > >Support Forums - http://www.rainbowportal.net/ASPNetForums > >Bug Tracker - >http://sourceforge.net/tracker/?group_id=66837&atid=515929 > > > > > >-----Messaggio originale----- > >Da: rai...@li... > >[mailto:rai...@li...] Per conto di >John > >M > >Inviato: lunedì 14 luglio 2003 17.39 > >A: rai...@li... > >Oggetto: [Rainbowportal-devel] Beta Testers Wanted - HttpHandler, New > >MultiLanguage Capabilities > > > >Hi all, > > > >Well a few people have already been testing the HttpHandler/Url Builder >and > >the feedback has been positive (and some bugs/quirks have been ironed >out). > > > >It now seems very stable and I was thinking of releasing it tomorrow > >afternoon (about 5 p.m GMT). > > > >I was wondering if anyone wanted to test it before within the next 24 >hours > >to see if there is something I have missed (i.e. a module stops working >or > >something similar to that..........the previous error with the shopping > > >cart > > > >has been fixed). > > > >Another feature (beta as I just did it today) I would like some people >to > >test is some new settings for making the portal multilanguage. > > > >For those of you on more current builds you'll know there is a setting >(On > >the tab admin page) where you can add different versions of the tab's >name > >(italian, english, german etc). I have expanded this to allow for Page > >Title, Meta Keywords, Meta Description and Tab/Page Keyphrase. > > > >I thought these were some pieces needed to make language support more > >robust > > > >(now when a foreign search engine indexes your foreign content, the >meta > >tags and page title will match the pages content). > > > >For Module Developers there is also a setting I'd you to test. The >ability > >to override or append to the following settings: > > > >Tab Title (A module might need to replace this to suit their content >e.g. > >an > > > >article gets selected) > >Tab Meta Keywords (A module might want to replace this to suit the >articles > >story) > >Tab Meta Keywords (Same as above) > >PageCss (You might want to append a css file to the current tabs css >file > >or > > > >override it. This could potentially be used by module developers to >specify > >their own css files instead of always having to cut and paste them into >the > >portal's css file). > > > >These settings should be available by typing e.g this.PageCss += "<link > >href="/Design/Themes/LearnDanish/learndanish.css" type="text/css" > >rel="stylesheet"/>"; > > > >For example. > > > >Anyway.....the handler if all things go well should be released >tomorrow > >and > > > >the other features after more tests should be released within the next >two > >weeks. > > > >So please let me know if you are interested. > > > >Regards, > > > >John > > > >_________________________________________________________________ > >Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Parasoft > >Error proof Web apps, automate testing & more. > >Download & eval WebKing and get a free book. > >www.parasoft.com/bulletproofapps1 > >_______________________________________________ > >Rainbowportal-devel mailing list > >Rai...@li... > >https://lists.sourceforge.net/lists/listinfo/rainbowportal-devel > >- > > > > > >- > > > >_________________________________________________________________ >Tired of 56k? Get a FREE BT Broadband connection >http://www.msn.co.uk/specials/btbroadband > > > >------------------------------------------------------- >This SF.Net email sponsored by: Parasoft >Error proof Web apps, automate testing & more. >Download & eval WebKing and get a free book. >www.parasoft.com/bulletproofapps1 >_______________________________________________ >Rainbowportal-devel mailing list >Rai...@li... >https://lists.sourceforge.net/lists/listinfo/rainbowportal-devel > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Parasoft >Error proof Web apps, automate testing & more. >Download & eval WebKing and get a free book. >www.parasoft.com/bulletproofapps1 >_______________________________________________ >Rainbowportal-devel mailing list >Rai...@li... >https://lists.sourceforge.net/lists/listinfo/rainbowportal-devel _________________________________________________________________ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger |