I just checked in some changes to the more search results work that Simo did. I made it so that it automatically loads for every skin. You lose control over where it gets placed, but it always gets placed at the top of the main body. By default it’s highlighted bright yellow.
Please try it out and let me know what you think.
Also, if you run it on a local host, I made it so you can easily fake the referrer by using the URL. For example, append the following to the end of a blog post URL.
?referrer=http://google.com?q=test
That’ll trigger the feature.
Phil
Good thing you moved it to the system skin: not many people will need
to change the way it looks :)
thx
Simone
> --
>
> You received this message because you are subscribed to the Google Groups "Subtext" group.
> To post to this group, send email to sub...@googlegroups.com.
> To unsubscribe from this group, send email to subtext+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/subtext?hl=en.
>
--
Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
Phil
On the search results page, I'd like to show a bit more info than just
the title. Perhaps date published, excerpt, and maybe categories etc.
Can we do that?
Phil
Sent from my mobile phone
On Dec 27, 2009, at 2:43 PM, "Simone Chiaretta" <simone.c...@gmail.com
The cats, not sure if it adds a lot of value, but adding them at
indexing time is not a big deal
simo
--
On Monday, December 28, 2009, Stéphane Erbrech
<stephane...@gmail.com> wrote:
> You could also highlight the word you were searching for and cut an extract of 15 words before and 15 words after.We do that with article in our news search engine at work. that gives you an extract that puts you in the context of the matched word.
>
> pretty useful and still compact :)Best Regards,
> Cordialement,
>
> Stéphane Erbrech
>
>
> On Mon, Dec 28, 2009 at 10:05 AM, Simone Chiaretta <simone.c...@gmail.com> wrote:
>
>
> or the excerpt... The naive approach is taking the first 100 words. A
> better but more complicate one will be taking also into account ends
> of paragraphs and similar things.
> Do we already have something that builds it?
>
> The cats, not sure if it adds a lot of value, but adding them at
> indexing time is not a big deal
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Subtext" group.
> To post to this group, send email to sub...@googlegroups.com.
> To unsubscribe from this group, send email to subtext+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/subtext?hl=en.
>
--
-----Original Message-----
From: sub...@googlegroups.com [mailto:sub...@googlegroups.com] On Behalf Of Simone Chiaretta
Sent: Monday, December 28, 2009 1:51 PM
To: sub...@googlegroups.com
Subject: Re: [subtext] Some changes to more search results...
--
You received this message because you are subscribed to the Google Groups "Subtext" group.
To post to this group, send email to sub...@googlegroups.com.
To unsubscribe from this group, send email to subtext+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/subtext?hl=en.
From:
sub...@googlegroups.com [mailto:sub...@googlegroups.com] On Behalf Of Simone
Chiaretta
Sent: Sunday, January 03, 2010 4:22 PM
To: sub...@googlegroups.com
Subject: Re: [subtext] Some changes to more search results...
But if I type http:// the browser redirects me to the homepage, not to the post page.
Weird. Try stepping through it.
I really want to lock down this release. I think we can do a quick point release afterwards that includes search for the aggregate blog.
We recently had a flurry of new bugs opened by Bill Graziano who is testing the aggregate blog so I’d want to focus on fixing those first.
Unfortunately I’m going to be crazy busy. We have this annoyance coming up with all these so called “MVP”s coming into town and I have to dance like a monkey for them. ;)
I've asked the ugidotnet team to help testing the indexing/searching
with their big db, hope it works fine with 50k blog posts as well :)
they asked a little favour as "payback": that we focus our next
release on making the host admin usable for installation with more
than 10 blogs :)
simo
--
I have tried ?referrer=http://google.com?q=subtext skins
result diverted to homepage.
Anyone else having this happen locally?
Si
--
You received this message because you are subscribed to the Google Groups "Subtext" group.
To post to this group, send email to sub...@googlegroups.com.
To unsubscribe from this group, send email to subtext+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/subtext?hl=en.
Can you step through the code and let me know what’s causing the redirect?
From: sub...@googlegroups.com [mailto:sub...@googlegroups.com] On Behalf Of Simone Chiaretta
Sent: Friday, January 08, 2010 6:26 AM
To: subtext
BlogRequestModule is probably the best place to start. Or Application_BeginRequest.
Phil
Phil
--
You received this message because you are subscribed to the Google Groups "Subtext" group.
To post to this group, send email to sub...@googlegroups.com.
To unsubscribe from this group, send email to subtext+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/subtext?hl=en.
I agree. RightAfter should return an empty string if the separator is not found. However, we need to be careful if we change it to make sure that any methods already using it don’t rely on the current behavior.
Sounds good. Yeah, let’s make the safest change for now and log a bug for a future release. J