Sign up | Lost password? | Help

[ advanced search ]

Easy way to find page's RSS feed

Forums » Opera Community » Opera for desktop » Desktop wish-list

Go to last post

Saturday, 24. March 2007, 19:40:39

spiffytech

avatar

Posts: 56

USA

Easy way to find page's RSS feed

Some websites don't have an RSS button, but only embed the RSS link so that it shows up in Opera's address bar. I'd like to be able to right-click the Opera address bar RSS button and copy the RSS link so that I can put the feed into Google Reader or something.

Wednesday, 28. March 2007, 18:08:47

Would be nice. Maybe it's a good idea to have a standard XSLT page in Opera that transforms a RSS feed. It should give a preview of the entry's and a "copy link"-button or something.

Friday, 20. April 2007, 12:30:33

kahi

avatar

Posts: 26

Originally posted by spiffytech:

right-click the Opera address bar RSS button and copy the RSS link


you read my mind. +1!

Friday, 20. April 2007, 16:46:02

+1

I just came here to ask for this!

Friday, 20. April 2007, 18:42:50

BAMAToNE

Internet Sensation

avatar

Posts: 1857

Tuscaloosa, AL

+1 definitely... I don't get envious of Firefox very often, but I do love this feature.

Friday, 20. April 2007, 21:00:01

shoust

Operaised

avatar

Posts: 3009

United Kingdom

Set this as a bookmark and click it, its function is to open a window with all the feed links ready to copy.

javascript:(function(){
var lnk=document.getElementsByTagName('link');
var s='';
for(var i=0,t=lnk.length;i<t,l=lnk[i];i++)
{
if(l.type=="application/atom+xml" || l.type=="application/rss+xml")
s+='<a href="'+l.href+'" title="'+l.title+'">'+l.title+'</a>
';
}
var hmm=window.open();
hmm.document.write('<title>Feed links for '+location.href+'</title>'+s);
hmm.document.close();
})()

Saturday, 21. April 2007, 05:25:03 (edited)

BAMAToNE

Internet Sensation

avatar

Posts: 1857

Tuscaloosa, AL

Originally posted by shoust:

Set this as a bookmark and click it, its function is to open a window with all the feed links ready to copy.

javascript:(function(){
var lnk=document.getElementsByTagName('link');
var s='';
for(var i=0,t=lnk.length;i<t,l=lnk[i];i++)
{
if(l.type=="application/atom+xml" || l.type=="application/rss+xml")
s+='<a href="'+l.href+'" title="'+l.title+'">'+l.title+'</a>
';
}
var hmm=window.open();
hmm.document.write('<title>Feed links for '+location.href+'</title>'+s);
hmm.document.close();
})()

:yes: Excellent stuff!

Edit: It doesn't look like it works exactly right as a button. I don't know enough about them to say for sure though. I thought maybe I'd drag the bookmark down to the Start Bar, but it doesn't work from there.

Saturday, 21. April 2007, 11:38:24

shoust

Operaised

avatar

Posts: 3009

United Kingdom

Edited the code(changed double quotes to single quotes), so in theory it should work as a button now when dragged to start bar

javascript:(function(){
var lnk=document.getElementsByTagName('link');
var s='';
for(var i=0,t=lnk.length;i<t,l=lnk[i];i++)
{
if(l.type=='application/atom+xml' || l.type=='application/rss+xml')
s+='<a href=\''+l.href+'\' title=\''+l.title+'\'>'+l.title+'</a>
';
}
var hmm=window.open();
hmm.document.write('<title>Feed links for '+location.href+'</title>'+s);
hmm.document.close();
})()

Saturday, 21. April 2007, 15:24:08

BAMAToNE

Internet Sensation

avatar

Posts: 1857

Tuscaloosa, AL

Very nice. :D

Sunday, 22. April 2007, 19:20:51

IceArdor

avatar

Posts: 309

USA

Is there a solution by changing Opera's default behavior when encountering an RSS link?

There's one for webmail services.. http://my.opera.com/Rijk/blog/2006/07/11/mailto-to-webmail

Sunday, 22. April 2007, 21:59:24

shoust

Operaised

avatar

Posts: 3009

United Kingdom

http://files.myopera.com/shoust/files/getfeedlink.js

A UserJS to place feed icons at the top left corner of the page(uses the feed icon from your current skin). Now maybe if I can find the Urls to pass on the feed to the web service then it'll be better.

Monday, 23. April 2007, 02:31:45

AyushJ

avatar

Posts: 4754

Originally posted by shoust:

uses the feed icon from your current skin

background-image:-o-skin(\'RSS\');



Where are these -o-skin values listed ? :confused:

Monday, 23. April 2007, 14:05:11

BAMAToNE

Internet Sensation

avatar

Posts: 1857

Tuscaloosa, AL

Originally posted by shoust:

A UserJS to place feed icons at the top left corner of the page(uses the feed icon from your current skin).

I like that better than the bookmark/button idea. :up:

Monday, 23. April 2007, 14:44:03

shoust

Operaised

avatar

Posts: 3009

United Kingdom

Originally posted by AyushJ:

Originally posted by shoust:

uses the feed icon from your current skin

background-image:-o-skin(\'RSS\');



Where are these -o-skin values listed ? :confused:



In the skin's zip folder > skin.ini :smile:

Monday, 23. April 2007, 15:56:51

AyushJ

avatar

Posts: 4754

Originally posted by shoust:

In the skin's zip folder > skin.ini



:yes: Thanks.

Saturday, 28. July 2007, 00:15:40

BAMAToNE

Internet Sensation

avatar

Posts: 1857

Tuscaloosa, AL

Originally posted by shoust:

http://files.myopera.com/shoust/files/getfeedlink.js

A UserJS to place feed icons at the top left corner of the page(uses the feed icon from your current skin). Now maybe if I can find the Urls to pass on the feed to the web service then it'll be better.


I've just discovered that this userjs prevents Google Reader from functioning. Added an exclusion to get it working again:
// @exclude     http://*.google.com/reader/*
I still love this script, though. :up:

Forums » Opera Community » Opera for desktop » Desktop wish-list