|
Posted by caddcreativity on 08/29/06 01:34
I've used http://www.bloglines.com to add RSS feeds to my sites there
and setup javascript in my website to search bloglines for the input
term.
The code below works perfect, but I have 2 minor issues, hopefully
someone more family with javascript can help me out with.
1) the variables do not reset, so any future searches return the same
previous returned link, unless i clear settings/cookies.
2) there is a static-string i would like to append: [&m=enh&usr] to the
end of the URL
{CODE}
<script language="JavaScript">
var name = "<person/>";
<![CDATA[
function Popup(){
var rssURL = "http://www.bloglines.com/search?q=";
var winWidth=800;
var winHeight=600;
var winScrollbars="yes";
var winToolbar="yes";
var winSizeable="yes";
var winLocation="yes";
var winDirectories="yes";
var winStatus="yes";
var winMenubar="yes";
var winCopyHistory="yes";
newWin=window.open(rssURL+name,"",
"copyhistory="+winCopyHistory+
",menubar="+winMenubar+
",status="+winStatus+
",directories="+winDirectories+
",location="+winLocation+
",resizable="+winSizeable+
",toolbar="+winToolbar+
",scrollbars="+winScrollbars+
",height="+winHeight+
",width="+winWidth);
}
]]>
</script>
<a href="javascript:Popup()"><person/></a>
{END CODE}
I also am currently working on XLST to format various feeds for various
purposes.
Hope this helps.
Any return help would be greatly appreciated.
CADD
Scott Gordo wrote:
> I've got some Press Releases in an xml file I'm posting to a number of
> different sites. I set it up as an RSS feed using
> RSS-to-Javascript.com. Free and very easy to use, but frankly I'm not
> sure the client is going to like the "Powered by:
> RSS-to-Javascript.com" link at the bottom.
>
> Can someone point me to a (concise) site/book/whatever that explains
> how the RSS-to-Javascript thing works (or some other equivalent method)
> so that I can take a crack at setting it up myself?
>
> Thanks!
>
> Scott
[Back to original message]
|