Re: [Hypercontent-users] Further doubts and clarifications needed
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-03-08 13:20:18
|
You can configure it however you like, but if you want index pages in =20= new directories you can have both doctypes <xml-doctype create=3D"manual" definition=3D"" label=3D"Page" path=3D"/**/*.xml" root=3D"html"> <output basedir=3D"/plain/" content-type=3D"text/html"> <transform source=3D"/config/skins/plain/common.xsl"> <with-param name=3D"link-base" value=3D"/plain"/> </transform> </output> </xml-doctype> <xml-doctype create=3D"manual" definition=3D"" label=3D"Index Page" path=3D"/**/index.xml" root=3D"html"> <output basedir=3D"/plain/" content-type=3D"text/html"> <transform source=3D"/config/skins/plain/common.xsl"> <with-param name=3D"link-base" value=3D"/plain"/> </transform> </output> </xml-doctype> When the user is prompted for a name for an index page, it will be =20 used to name the directory that contains the index page. Cheers, Alex On Mar 7, 2007, at 6:25 PM, tom tom wrote: > Hi Alex, > > I decided to keep the following so that user can > manually add any xml with any name inside any folder. > > Hope there is no issues with this? > > > > <xml-doctype create=3D"manual" definition=3D"" > label=3D"Page" path=3D"/**/*.xml" root=3D"html"> > <output basedir=3D"/plain/" > content-type=3D"text/html"> > <transform > source=3D"/config/skins/plain/common.xsl"> > <with-param name=3D"link-base" value=3D"/plain"/> > </transform> > </output> > </xml-doctype> > > > > > --- Alex Vigdor <al...@bi...> wrote: > >> If you just want an index in a new folder, you >> should have the user >> create an instance of a doctype "/**/index.xml". >> This will >> automatically create the enclosing folder. You can >> even label the >> index doctype "Folder" if you feel it is more clear. >> >> Alex >> >> On Mar 6, 2007, at 10:20 PM, tom tom wrote: >> >>> >>>> To automatically have an index file created >> inside >>>> every directory, >>>> you could use create=3D"auto" with your index >> doctype, >>>> e.g. >>>> >>>> <xml-doctype path=3D"/**/index.xml" create=3D"auto" >> ... >>> >>> What I want is not to create index file in every >>> directory but only in the new folder being >> created. >>> Above will create index.xml in each folder. >>> >>> I allready go the xml-doctype as follows in my >> project >>> definition >>> >>> <xml-doctype create=3D"manual" definition=3D"" >>> label=3D"Page" path=3D"/**/*.xml" root=3D"html"> >>> =E2=88=92 >>> <output basedir=3D"/plain/" >> content-type=3D"text/html"> >>> =E2=88=92 >>> <transform >> source=3D"/config/skins/plain/common.xsl"> >>> <with-param name=3D"link-base" value=3D"/plain"/> >>> </transform> >>> </output> >>> </xml-doctype> >>> >>> >>> Thanks >>> >>> >>> >>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>> It's here! Your new message! >>> Get new email alerts with the free Yahoo! Toolbar. >>> >> http://tools.search.yahoo.com/toolbar/features/mail/ >>> >> >> >> > ----------------------------------------------------------------------=20= > --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys-and earn cash >> > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________=20= > ______________ > Finding fabulous fares is fun. > Let Yahoo! FareChase search your favorite travel sites to find =20 > flight and hotel bargains. > http://farechase.yahoo.com/promo-generic-14795097 > |