Rich Lafferty's LiveJournal ([info]mendel) wrote in [info]lj_nifty,
  • Mood: pleased

Google blog search searches and excerpts from LiveJournal

For those of you annoyed at how Google no longer provides excerpts for LiveJournal entries in its search results, you'll be pleased to see that they've launched Google Blog Search. For instance, you could read about my motorcycle adventures, or see [info]jwz curse at unhelpful people.

It's straightforward to embed a Google searchything in your userinfo or style:

<form method="get" action="http://blogsearch.google.com/blogsearch">
<input type="text" name="as_q" size="31" maxlength="255" value="" />
<input type="hidden" name="bl_url" value="http://www.livejournal.com/community/lj_nifty" />
<input type="submit" name="btnG" value="Search My Livejournal" />
</form>






  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your reply will be screened

    Your IP address will be recorded 

  • 75 comments

[info]asciident

September 14 2005, 16:37:07 UTC 6 years ago

Rich, wouuld you mind cutting the code? It's kind of long. ;)

Thanks.

[info]mendel

September 14 2005, 17:15:32 UTC 6 years ago

I'm not sure what you mean -- the five lines in <pre>? Or something else?

[info]progress

6 years ago

[info]mendel

6 years ago

[info]progress

6 years ago

[info]dandelion

6 years ago

[info]nikolasco

6 years ago

[info]asciident

6 years ago

[info]beepboop

September 14 2005, 16:37:18 UTC 6 years ago

big smile mannequins! i love em! :D

[info]kunzite1

September 14 2005, 16:45:33 UTC 6 years ago

ok. sorry for 3 posts of this comment. i'm still waking up! :D
var string GBSscript_url  = "http://blogsearch.google.com/blogsearch";
var string GBSjournal_url = $.journal->base_url();
var string GBSsubmit      = "Search My LiveJournal";
"""
<form method="get" action="$GBSscript_url">
<input type="text" name="as_q" size="31" maxlength="255" value=""> />
<input type="hidden" name="bl_url" value="$GBSjournal_url" />
<input type="submit" name="btnG" value="$GBSsubmit" />
</form>
""";

[info]skryche

September 14 2005, 16:46:08 UTC 6 years ago

Oh, that's just awesome.

[info]isidorenabi

September 14 2005, 16:46:19 UTC 6 years ago

looks like google is ignoring no-index no-follow no-archive tags for the blogsearch feature. lame.

[info]lemniskate

September 14 2005, 16:54:47 UTC 6 years ago

definitely lame. Most of my stuff is friendslocked, but still.

[info]eagon

6 years ago

[info]emarkienna

6 years ago

[info]nikolasco

6 years ago

[info]darxus

September 14 2005, 16:58:21 UTC 6 years ago

How do you find out about things like this, does google have an announcement lists ?

[info]casey

September 14 2005, 17:15:31 UTC 6 years ago

They're kind of weird about announcing some features and letting others be discovered, but these days most new things make it to the Official Google Blog: http://googleblog.blogspot.com/

[info]mendel

6 years ago

[info]vampwillow

September 14 2005, 17:17:17 UTC 6 years ago

personally I see this as a problem. Whereas before they accessed the HTML and found the robots.txt and nosnippet rules, now they are taking the information from the RSS feed and so have no knowledge (or need for) instructions not to analyse / make searchable our LJs.

About time the RSS spec had a "no google" feature I think!

[info]nikolasco

September 14 2005, 18:18:42 UTC 6 years ago

See above (no it wasn't there when you commented. I'm just lazy)

[info]brocklisoup

September 14 2005, 17:24:33 UTC 6 years ago

Awesome! I've always wanted a way to search my entries.

Also, I looked at your profile and thought "I know that bike!" I usually ride my dad's 86 Shadow 750. You beat me to a bike license by a month and a half.

[info]mendel

September 14 2005, 17:28:48 UTC 6 years ago

Hah, nice. Got a spare left side cover? :-)

[info]_duncan

September 14 2005, 17:43:21 UTC 6 years ago

excerpts of LJ posts in Google search results

Google no longer provides excerpts for LiveJournal entries in its search results

Eh? They don't? Google search: "gear even vented doesn't breathe very well especially at parking-lot"

[info]mendel

September 14 2005, 17:51:14 UTC 6 years ago

Re: excerpts of LJ posts in Google search results

Huh, that's new, too. As of at least a couple weeks ago, there were no excerpts or cached copies for pages in livejournal.com -- just the title. I wonder if it works for entries predating their feed-based indexing. (Yep, it does..)

Good news all around today, yay!

[info]st_arbirix

September 14 2005, 17:49:21 UTC 6 years ago

For some reason LJ keeps appending "/>" after the text entry box so that it's visible. Anyone else getting this?

[info]st_arbirix

September 14 2005, 17:50:21 UTC 6 years ago

Oh, oops. I found it. The posted code includes it.

[info]mendel

6 years ago

[info]nikolasco

September 14 2005, 18:21:11 UTC 6 years ago

Note that this doesn't go back forever. After some prodding, I've found that my journal was indexed starting May 4th

[info]specialspark

September 15 2005, 04:50:16 UTC 6 years ago

Do you know if it will ever go back all the way?

[info]nikolasco

6 years ago

[info]flatvurm

September 14 2005, 19:12:00 UTC 6 years ago

Just a quick note for anyone interested: I generally prefer to use the USERNAME.livejournal.com URL that comes with a paid account, but Google Blog Seach appears to prefer the www.livejournal.com/user/USERNAME style if you're using the "blogurl" option or the HTML code example in this post. Word to the wise.

[info]abates

September 15 2005, 00:17:29 UTC 6 years ago

that's because Google mostly seems to find journals via weblogs.com, and LJ pings that using the /user/USERNAME URL.

This also may explain how posts were made public then switched to friends only were rapidly caught by Google - if Google's looking at weblogs.com every five minutes or so, and happens to spot you've just updated, it'll grab your feed before you switch the post's security...

[info]nikolasco

6 years ago

[info]nikolasco

6 years ago

Deleted comment

[info]msilverstar

September 15 2005, 02:12:42 UTC 6 years ago

Yeah, they screwed up, but my contacts there say they know it and are purging the index of the pages with noindex tags.

[info]irishvampire13

September 14 2005, 23:50:22 UTC 6 years ago

Okay, this is not a good idea. There's immense potential for invasions of privacy.

[info]mendel

September 15 2005, 00:04:46 UTC 6 years ago

If you're posting it to the Internet, it's not private.

[info]dieppe

6 years ago

[info]mendel

6 years ago

[info]mendel

6 years ago

[info]msilverstar

September 15 2005, 02:13:30 UTC 6 years ago

I contacted friends there, and they know about the blogsearch problem -- the pages were left from the test index when they went into beta. It should be fixed this week.

[info]pw201

September 15 2005, 08:20:27 UTC 6 years ago

How will they fix it when there's no standard in RSS or Atom to indicate that they shouldn't index the page? Are they going to fetch the corresponding HTML page and look for the META tags in that?

[info]nikolasco

September 15 2005, 07:50:07 UTC 6 years ago

The safer solution is to always post friends-only or private and then make things public manually. You can force yourself to do this by going to the console and running:
set newpost_minsecurity level
where level is public, friends, or private. You'll have to edit the entry to make it public.

Of course, the minsecurity thing might be more trouble than it's worth, depending on the ratio of public/friends-only entries ... bleh

[info]fatmuttony

September 15 2005, 10:51:04 UTC 6 years ago

It seems to show results only from some posts, and ignores others, though they are all public posts... Why?

[info]ex_operator680

September 15 2005, 13:46:03 UTC 6 years ago

1) Very nifty HTML form to my mind :) , I did not know I can insert HTML into my user infor details...
2)I also worry about the privacy issue regarding search results provided by Blogsearch service

[info]halfawake

September 16 2005, 08:18:42 UTC 6 years ago

Just to let everyone know, Google is fixing the indexing problems.

[info]bill_anterson

September 21 2005, 17:34:15 UTC 6 years ago

Good news!

--
Bill Anterson, Orthodontics Today

[info]everdred

September 23 2005, 18:37:56 UTC 6 years ago

Spam harder, Bill! You're still nowhere near the top.

[info]smesh

November 17 2005, 00:53:15 UTC 6 years ago

I'm Googling (or Yahoo!'ing:) using site:www.livejournal.com and inurl:users/username. For your motorcycle it works perfect! :)

[info]suraimu

November 28 2005, 00:46:02 UTC 6 years ago

Too bad this code is completely worthless for friends-only journals. I wish LJ had its own built-in search feature. I'd use it constantly.

[info]untypoed

April 17 2009, 01:26:51 UTC 3 years ago

I'm probably 3 years and a Hurricane Katrina late (I was in it) but This is proof that Livejournal is in desperate need of a search feature. A bloging website service that has users that need to make tricks or make unreliable ljseek.com services is.. it's like a lighter version of North Korea, isn't it? It's very stupid. Livejournal has been around for years and it hasn't released a feature to allow us to search for blog entries. And I feel like I'm the only one who notices it because no one is standing up to get the developer's attention so they can finally make the feature.

[info]pushoffsidewalk

July 5 2009, 17:51:16 UTC 2 years ago

I agree with you :(. I desperately want one of those search option things that actually works..
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…