Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Simple??? But Driving Me Crazy! [RSS/Domain Masking]
Old 11-23-2009, 02:10 PM Simple??? But Driving Me Crazy! [RSS/Domain Masking]
Experienced Talker

Posts: 36
Trades: 0
Hi there!

I'm currently working on (or attempting....) http://www.ToffeeSearch.com - Google, customised for fans of an English Football/Soccer team.

I have two quick questions that I'm hoping someone can assist with - Despite seeming simple, I've spent hours with no joy.

1. Can anyone suggests the best way to go about implementing RSS feeds?. I've read tons of tutorials etc and opted for one method by using Feedinformer but it takes an age to update the feed. A story is published and the feed isnt updated for several hours. Any help with this - think "Idiots guide" would be massively appreciated.

2. Lastly, I've masked the domain (with godaddy), however when a search is ran it displays the servers main domain. (The search does work, just click about in the grey box if you want to test what I mean, I cant get the white box at the moment...) Does anyone know how to keep the domain masked?

Last edited by Bacon Butty; 11-23-2009 at 02:11 PM..
Bacon Butty is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-01-2009, 03:43 PM Re: Simple??? But Driving Me Crazy! [RSS/Domain Masking]
L a r r y's Avatar
Super Talker

Posts: 103
Name: Larry K
Location: Arizona
Trades: 0
In order to get a white search box background, since you have specified the textarea input with id="q", you might try the following css:
Code:
#q textarea{background-color: #fff; color: #000; }
You may also specify
Code:
padding: 0 6px;
if you want left-and-right white space between the edge of the box and the edges of the text, and you can specify font characteristics as well if you wish.

I performed a search on your search engine, and got the grandoldteam domain name, but then I hit the Back button once and saw the search results under your ToffeeSearch domain. Maybe you can employ some kind of Javascript to write to the address bar, but perhaps the best approach would be to host the ToffeeSearch domain name.
L a r r y is offline
Reply With Quote
View Public Profile Visit L a r r y's homepage!
 
Old 12-20-2009, 03:12 AM Re: Simple??? But Driving Me Crazy! [RSS/Domain Masking]
L a r r y's Avatar
Super Talker

Posts: 103
Name: Larry K
Location: Arizona
Trades: 0
Quote:
Originally Posted by L a r r y View Post
I performed a search on your search engine, and got the grandoldteam domain name, but then I hit the Back button once and saw the search results under your ToffeeSearch domain. Maybe you can employ some kind of Javascript ...
Here is another take on that Javascript thought: I just got through visiting the site again and performed a search.

As before, the grandoldteam domain name came up, but then I did a Back button press and saw your toffeesearch domain come up, still with the search results displayed.

I then visited a search result page and saw the correct results.

I also visited the page, performed the search and then hit back button twice to return to the search box with my search term still showing, ready to submit.

If we use Javascript to manipulate the browser's history, we can have these desired results:

Visit toffeesearch.com
Enter a search term and submit.
Get kicked back one page behind the scenes, and see the search results under the toffeesearch.com domain.

So I looked for a back button code and found code that uses a form and an onclick event to take the visitor back when he clicks a button on the page.

From http://javascript.about.com/library/blback.htm :
Code:
<form><input type="button" value=" &lt;-- BACK "
onclick="history.go(-1);return false;" /></form>
We need the part about "history.go(-1);return false;" and execute that function only if the browser history is on the grandoldteam site. So do a Javascript equivalent of

IF $pointer="grandoldteam" THEN
"history.go(-1);return false;"
END IF

That is BASIC syntax that I was using from my days on a Radio Shack Color Computer that I used in this example.


If you need, go into any number of Javascript tutorials for the specifics on how to do Javascript. I have not done Javascript for years myself, so I am not up on the proper syntax of the ideas that I have just presented.

I see that you did get your search box fixed for a white background since my first visit. I hope this helps point you in the right direction for the balance of your question.
L a r r y is offline
Reply With Quote
View Public Profile Visit L a r r y's homepage!
 
Reply     « Reply to Simple??? But Driving Me Crazy! [RSS/Domain Masking]
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12901 seconds with 12 queries