Hey man, stop preparing pizza without inviting me!!! :D >> hooking at the "post-site" phase solves the issue of having the html files rebuilt AFTER the indexing
Calling mvn site-deploy rebuilds the site and modifications made by the indexer plugin get lost - the search box doesn't appear into the deployed site. Hooking the indexer into the "post-site" phase should solve this >> I meant placing the search bar just configuring parameters in the site.xml in the <custom/> section, see the fluido-skin to see how we did it, if interested. Uhm this is the first thing I tried (on the DM site) but couldn't get anything to appear into the header or head section (only the footer works). I suppose this is related to the work-in-progress version of the fluido skin. It is, of course, the way to go and solves the issue at the previous point as well. Ciao, R On Sat, Nov 12, 2011 at 2:53 PM, Simone Tripodi <simonetrip...@apache.org>wrote: > Hola Raf!!! > just back from lunching and preparing the pizza for tonight :P > > On Sat, Nov 12, 2011 at 11:09 AM, Raffaele P. Guidi > <raffaele.p.gu...@gmail.com> wrote: > >>> [...] the maven sandbox is open to all ASF committer - so there > > shouldn't be any issue on moving > > > > Always great to feel I'm in the club > > > > great is that you are here!!! > > >>> I think you have to submit a SoftwareGrant since it is a > > software donation to the ASF > > > > I think I'll take Oliver advice, here: the github repo was only a place > to > > show off the thing and I'm the only contributor. And it's the less > > work-demanding way ;) > > > > I'm not sure this is the way to go (due to my experience) just to > avoid any possible misunderstanding I suggest to subscribe to legal@ > and discuss about it tere to clarify any doubt. > > >>> About technical PoV, I just have two observations: > >>> [...] I'd suggest to configure the plugin to be automatically > executed > > in the `post-site ` phase > > > > Nice hint I was looking at something like this - hooking at the > "post-site" > > phase solves the issue of having the html files rebuilt AFTER the > indexing > > should disappear as well, right? You solved the first issue ;) > > > > I maybe lost you, didn't understand :) Sorry but during the WE I lost > my powers :D > > >>> * I'd suggest to base the js search engine on a jquery compliant plugin > > rather than an almost abandoned project > > > > I was looking for a javascript search library I wrote myself in 2001 but > > couldn't find it anymore and found this one, instead, which works well > > enough and is apache licensed. Switching is pretty easy and I can make it > > pluggable if needed. I also tried to write the author and the company > > behind it but with no success, yet - I'll mantain it directly if he > didn't > > show up. > > > >>> * users should be able to plug the search bar in different location > > > > They already are - look at searchbox.html: > > > > $(document).ready(function() { > >> $("#dialog", window.parent.document).css('position', 'fixed'); > >> $("#dialog", window.parent.document).css('top', '10px'); > >> $("#dialog", window.parent.document).css('left', $(window).width()- > 325 > >> ); > >> }); > > > > > > It's actually just a matter of changing top and left values - but all the > > searchbox is customizable, it resides into site/resource for a reason ;) > I > > use jquery and html absolute positioning because I didn't want to tie > this > > to a particular skin but, of course, if a skin puts the tags (only one: > > <iframe src="searchbox.html"> </iframe>) into the page directly where > > needed things could even get simpler. > > > > I see, but that would require a little work for our users - I meant > placing the search bar just configuring parameters in the site.xml in > the <custom/> section, see the fluido-skin to see how we did it, if > interested. > > > I also tried (of course :P) on DirectMemory's site - and it works fine, > > positioned a bit more on the left and aligned to the incubator logo, but > I > > am not able to properly rebuild the site (the black top bar is always > > missing) - wanna try that for yourself? > > > > no worries, no fault from your side, that is because the skin changed > a little and elements are now configurable, DM site would require a > little work configuring skin elements in the site.xml, see [1] and [2] > :P > > > Ciao, > > R > > > > > > Have a nice WE! > Simo > > [1] http://people.apache.org/~simonetripodi/fluido/sidebar/ > [2] http://people.apache.org/~simonetripodi/fluido/topbar/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >