[Kye-U] Google Alternate Display...
|
Feb. 08, 2009, 07:05 PM
Post: #1
|
|||
|
|||
[Kye-U] Google Alternate Display...
Kye-U,
kind of curious, if you do a Google Search for "showimage.htm", you get a "did you mean" 'top 2 results shown' tidbit... below those two results is a "line", but the line only spans roughly 3/4 of the page... can it be altered so that it spans the same width as the shaded every-other search result? |
|||
Feb. 08, 2009, 07:11 PM
Post: #2
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
Definitely! I'll have it fixed after I get some food
![]() EDIT: Code: [Patterns] The new additions are the last two lines in the matching expression, a simple match/replace. I checked in the US and Canadian versions of Google, and the code is exactly the same. |
|||
Feb. 08, 2009, 07:53 PM
Post: #3
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
When doing ProxRocks' example search, the first result right below that 3/4 line is for me:
Quote:Results for: showimage.htm The little images, inserted right to that link, are duplicated. That happens only with that first link. But for all "Did you mean" searches i've just tried. If that's hard to reproduce, or problematic to fix, surely no biggie! ![]() |
|||
Feb. 08, 2009, 08:19 PM
Post: #4
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
Fixed, although I don't really know the reason why "<p" was also being matched.
What I changed was (div|p|li) to (div|li). The reason for the duplicate images is because of: Code: <li><p class=g style="margin-top:0"><span class=med>Results for: <b>showimage.htm</b></span> Note the "<p class=g". ![]() Code: [Patterns] |
|||
Feb. 08, 2009, 08:45 PM
Post: #5
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
Thanks, also for the code explanations!
Google used <p> tags, before introducing <li>. Probably it isn't used anymore now. Regarding <hr>'s, in case they change something to the exact code, maybe a candidate for the CSS? Old: Code: /* Content snippets */ New: Code: /* Content snippets, horizontal rules*/ |
|||
Feb. 08, 2009, 08:49 PM
Post: #6
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
(Feb. 08, 2009 08:45 PM)sidki3003 Wrote: Google used <p> tags, before introducing <li>. Probably it isn't used anymore now. Ah, that makes sense ![]() (Feb. 08, 2009 08:45 PM)sidki3003 Wrote: Regarding <hr>'s, in case they change something to the exact code, maybe a candidate for the CSS? That's a better solution! Thanks ![]() |
|||
Feb. 08, 2009, 08:57 PM
Post: #7
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
Good, i'll update filter and CSS accordingly.
|
|||
Feb. 09, 2009, 01:39 AM
Post: #8
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
If you are logged in:
The alternating row color system doesn't work, only the second result of the 'top 2 results shown' is shaded. The [Go to top domain] [Open in new window] links are not added. |
|||
Feb. 09, 2009, 01:57 AM
Post: #9
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
$AV(g) -> $AV(g(\s*|))
? |
|||
Feb. 09, 2009, 02:34 AM
Post: #10
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
whenever, it works fine for me when I'm logged in. I'm guessing you have a different version of Google? Can you copy/paste the unfiltered source code and attach it here?
Thanks! |
|||
Feb. 09, 2009, 03:04 AM
Post: #11
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
(Feb. 09, 2009 01:57 AM)sidki3003 Wrote: $AV(g) -> $AV(g(\s*|))This brings the alternating row color and the [Go to top domain] [Open in new window] links back. Attached you can find the source code. |
|||
Feb. 10, 2009, 07:03 PM
Post: #12
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
It's time to get to a "final" filter version.
![]() I assume that i can add suggested change. (It *could* potentially break layout, because it doesn't write back the original secondary classes - those that follow "g".) |
|||
Feb. 10, 2009, 07:59 PM
Post: #13
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
No reported page layout breakage here so far
![]() |
|||
Feb. 11, 2009, 02:25 AM
Post: #14
|
|||
|
|||
RE: [Kye-U] Google Alternate Display... | |||
Feb. 11, 2009, 05:43 PM
Post: #15
|
|||
|
|||
RE: [Kye-U] Google Alternate Display...
Yep
|
|||
« Next Oldest | Next Newest »
|