Posts Tagged ‘Searches’
Working with search recognition in WordPress
I'm currently working on my master project at the Danish School of Journalism where I'm doing a communications assignment for a café and nightclub in Copenhagen named Nadsat.
A part of my project is to create a new website for Nadsat which I have chosen to be, of course, powered by WordPress.
As I've included a search that also searches in pages in WordPress (by using Dan Cameron's Search Everything plugin) since WordPress doesn't do this by default, I got an idea:
Why not have some sort of recognition to save people to some time when they're searching for information on the site? Let's say that someone searches Nadsat.dk for "effekten", which is a collective throwing parties at Nadsat, why not save them time by telling them where they can read more about Effekten (Danish for "the effect")?
So here's what you do. You take the code provided below and use it somewhere in you Search Results page (found in WordPress admin ==> Presentation ==> Theme Editor) and you're set :-)
Okay, so here we go. Remember that "$s" is the search query and we'll be using this in this classic elseif PHP code. Also note that if you want to write a quotation mark in PHP you write \". Let's get to the code:
<? if ($s == "x") {
echo "You searched for x. Blah blah blah <a href=\"http://www.test.com/test\">click this link</a>";
} elseif ($s == "y") {
echo "You searched for y. Blah blah blah and so on";
} elseif ($s == "z") {
echo "You searched for z and probably get it by now";
} else {
echo "Your search query \"" . $s . "\" wasn't recognized";
} ?>
This is just basic PHP, no WordPress-only in there :)
*** UPDATE UPDATE UPDATE ***
I just realized that the code above is case sensitive. With the code below a search for "Effekten" will be converted to "effekten" as would "effeKten", "eFfEkTeN" and… you get the picture :-)
<? if (strtolower($s) == "x") {
echo "You searched for x. Blah blah blah <a href=\"http://www.test.com/test\">click this link</a>";
} elseif (strtolower($s) == "y") {
echo "You searched for y. Blah blah blah and so on";
} elseif (strtolower($s) == "z") {
echo "You searched for z and probably get it by now";
} else {
echo "Your search query \"" . $s . "\" wasn't recognized";
} ?>
Tags: CMS, PHP, Search, Searches, wordpress
Age matters when you Google in Korea
Google Korea plans to introduce an age-verification system to its search engine later this year that will restrict adult-themed searches to those 19 years of age and older, it said Thursday.
More at Infoworld: "Google Korea to censor search results"
Related postsTags: Censorship, Google, Search, Search engines, Searches, Searching
Google experimental search with keyboard shortcuts
Okay, yet another Google post :)
At LifeHacker I read a post on an experimental Google search that let's you navigate through the search results Gmail style.
Check it out :D
Related postsTags: Google, Search, Search engines, Searches, Searching
Google's new search results layout kicks in
I read about it yesterday at the Google Blog, the universal search that is suppose to make it easier to search for the same query across the web, news, images, blogs, music and videos.
However you don't get the same options at every search, for instance a search for "Ungdomshuset" (the "Youth house" here in Denmark that has been in the media the past months) doesn't allow you to click "News" which a search for — as a test — "Britney Spears" does.
So maybe the new feature is still being rolled out?
One feature that is on evey search is that Google now has placed the "Web | Images | Video | News | Maps | Gmail | More" at the left top corner of the search results page.
Also check out the latest Google Blog post on the new universal search: "Behind the scenes with universal search".
Related postsTags: Google, Search, Search engines, Searches, Searching
Google sits on 64 percent of all US search queries
According to CNet Google has 64 percent of all search queries in the US:
Web search leader Google's market share inched up to 64 percent of all queries among U.S. Internet searchers in March, gaining further ground against Yahoo and Microsoft, a survey released on Wednesday by Hitwise found.
The number of search queries on Google rose to 64.1 percent in March, compared with 63.9 percent in February and 58.3 percent a year ago, according to Hitwise, which bases its report on the surfing habits of 10 million U.S. Web users.
And just when you thought, Google couldn't get any bigger..!
Related postsTags: Google, Search, Search engines, Searches, Searching
If Google looked like a Mac
Related postsTags: Apple, Google, Mac, Search, Search engines, Searches, Searching
Google alerts - why wasn't I informed? :-)
Vaibhav (who as posted some comments on this blog) has posted about Google Alerts at his own blog:
Go to http://www.google.com/alerts and login with your Google account credentials. Now let’s say you want to be notified whenever there is something new on the web (or at least the part that Google monitors); let’s say this something is SyncMyCal.
[...]
You can type in “SyncMyCal” in the Search terms, choose a Type and frequency, and click on ‘Create Alert’. And boom; now every time Google detects new content with the term SyncMyCal in it, it will send you an email with a link to the new content.
I didn't know of this service, so thank you very much Vaibhav :D
Related postsTags: Google, Search, Search engines, Searches, Searching
Google includes YouTube in video search results
I just saw this at the Google Blog: Google has now started to include YouTube videos in the video search results.
YouTube still remains independent, though:
Related postsYouTube, as we've stated previously, will remain an independent subsidiary of Google, and will continue to operate separately. Google will support YouTube by providing access to search and monetization platforms and, when/where YouTube launches internationally, to international resources. YouTube co-founders Chad Hurley and Steve Chen and the rest of the YouTube team will continue to innovate exciting new ways for people to "broadcast themselves."
Tags: Google, Google Video, Search, Search engines, Searches, Searching, YouTube
Reprise: China's censorship
Many of you have do doubt seen this before, but I think it deserves to be posted again.
A Google Image search for "tiananmen" clearly shows how the Chinese authorities are censoring the web.
Related postsTags: China, Google, Search, Search engines, Searches, Searching