>> [...] 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
>> 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 ;)
>> 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'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 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?
Ciao,
R
On Sat, Nov 12, 2011 at 1:11 AM, Simone Tripodi <[email protected]>wrote:
> Hola Raf,
> nice idea and good job! the maven sandbox is open to all ASF committer
> - and you are - so there shouldn't be any issue on moving the code
> under the ASF.
> I think you have to submit a SoftwareGrant since it is a software
> donation to the ASF.
>
> About technical PoV, I just have two observations:
>
> * unless you don't want to index a different directory than the
> produced site, I'd suggest to configure the plugin to be automatically
> executed in the `post-site ` phase;
> * I'd suggest to base the js search engine on a jquery compliant
> plugin rather than an almost abandoned project (activity is tracked as
> `none` on gcode)
>
> Hint (due to my recent experience on the fluido skin)
>
> * users should be able to plug the search bar in different location
>
> keep rockin'!!!
> best,
> Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> On Sat, Nov 12, 2011 at 12:37 AM, Raffaele P. Guidi
> <[email protected]> wrote:
> > Hi, I wrote a small plugin to index and search-enable static maven
> > generated sites using javascript (you can see its self generated site as
> an
> > example at: [1]). It's a pretty simple "and" only search but nevertheless
> > quite effective and I couldn't find anything similar (I notice that even
> in
> > the main maven site the search box is powered by google). I am interested
> > in contributing the code to the maven project (it's already released
> under
> > the apache license and available on github [2]) and improving the
> > integration with the maven site plugin. The plugin leverages js-search
> [3]
> > by theladders.com written by Larry Ogrodnek.
> >
> > Do you think this is of some interest? And, in case, how could we
> proceed?
> >
> > Regards,
> > Raffaele
> >
> > [1] http://raffaeleguidi.github.com/Maven-Site-Indexer-plugin/site/
> > [2] https://github.com/raffaeleguidi/Maven-Site-Indexer-plugin
> > [3] http://code.google.com/p/js-search/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>