Piano Society
Free Classical Keyboard Recordings
It is currently Fri Aug 22, 2014 12:54 pm

All times are UTC - 1 hour




Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: RSS feeds
PostPosted: Sat Jan 06, 2007 3:35 am 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
O kind admins, is there a way to enable RSS for the forums?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 06, 2007 7:02 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
I guess you are looking for RSS feeds into your news reader?

There is a mod for phpbb named Smartfeed which can be integreated. Here is the description:
Code:
This hack allows users to get a newsfeed for selected forums, including restricted forums if they have the privilege. This is done by using an interface program called smartfeed_url.php which creates a URL that authenticates the user with phpBB. Smartfeed is smart enough to keep users out of forums for which they do not have access, even if they hack parameters on the URL field. Authentication is reasonably sophisticated. Those who are not registered can access in the newsfeed only those forums that can be read by the public.

The URL generated by smartfeed_url.php is then copied and pasted by the user into their newsreader. The user needs to be smart enough to specify a newsfeed that their newsreader can interpret. RSS 0.91, RSS 1.0, RSS 2.0 and Atom 1.0 newsfeeds are supported.


Is this what you want?

I have been thinking of this for the main page as well. Could be interesting when there are new pianists and recordings or possible other information.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 08, 2007 8:49 pm 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
Yeah, that's the stuff. RSS for the forum would make sense. Also, what I'd really like is a feed of recordings posted on the public site, so I can subscribe to a Piano Society podcast!

(A podcast for the Audition Room would be great too, but maybe harder to do.)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 08, 2007 8:57 pm 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
schmonz wrote:
Yeah, that's the stuff. RSS for the forum would make sense. Also, what I'd really like is a feed of recordings posted on the public site, so I can subscribe to a Piano Society podcast!

(A podcast for the Audition Room would be great too, but maybe harder to do.)

I have thought of this and even downloaded the manual for how to create iTunes podcasts (they do not differ from any other RSS podcast). It might be a good idea for new recordings but perhaps to even list the entire recording structure. Not sure as I am an RSS newbie ;). Should not be too hard to automatically create a new RSS feed every day in an XML formatted document using cron though.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 31, 2007 9:43 pm 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
Any progress on RSS? I recently set up a podcast of my own. Can I do something to help here (when the blessed weekend comes)?

techneut wrote:
schmonz wrote:
Fine, fine. :-) Shouldn't my pianist page automatically grow a link to the Rach Preludes page? It hasn't...

Er, not automagically.... I need to take care of that. Getting sloppy....


It probably should be automatic, no? What's the uploading process like, and can the content management software (whatever it is) help streamline it? If nothing is done this will only become more annoying for you as the site's growth accelerates.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 01, 2007 5:07 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
What I feel one must do is to program a script which is run every night in crontab which checks for new uploaded recordings and builds the XML-file automatically. To manually create the file is not an option as that will take too much time.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 01, 2007 6:14 am 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
robert wrote:
What I feel one must do is to program a script which is run every night in crontab which checks for new uploaded recordings and builds the XML-file automatically. To manually create the file is not an option as that will take too much time.


Absolutely, it has to be scripted. I'm a competent shell scripter. If you can tell me where on the filesystem music files get placed and how, I'll work out the logic of scanning for new recordings. Send me email with details.

About the cross-references between pianist/composer/recording, that really has to get automated too so you guys don't go crazy (but likely that's something that has to be solved in the content management system, so I can't so easily offer to hack something together...)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 03, 2007 6:03 pm 
Offline
Site Admin

Joined: Mon Jun 12, 2006 11:45 am
Posts: 9511
Location: Netherlands
schmonz wrote:
Absolutely, it has to be scripted. I'm a competent shell scripter. If you can tell me where on the filesystem music files get placed and how, I'll work out the logic of scanning for new recordings. Send me email with details.

I already created a script (/home/chris/bin/new) that runs every night via cron and creates a page of new recordings (i.e. audio files that were created/modified in the last month). Maybe not the last word in scripting but it does the job. Providing additional output in XML rather than HTML should not be too hard to implement.

schmonz wrote:
About the cross-references between pianist/composer/recording, that really has to get automated too so you guys don't go crazy (but likely that's something that has to be solved in the content management system, so I can't so easily offer to hack something together...)

I'd love it if pages were updated automaticaly when a new record is uploaded. But the Exponent CMS does not allow dynamic HTML, if I have understood correctly. Actually I'd prefer to create all the pages dynamically, based on text files and audio files, than maintaining them in Exponent CMS. But that will be some work. It would save time however in the long run. Sort of like Classic Cat is doing, all tyheir pages are dynamically generated by scripts.

_________________
Nothing is always absolutely so -- Sturgeon's law
Chris Breemer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 29, 2007 6:18 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
Restarting this topic a bit. I have just added an RSS feed to the news module and launched it on the main page. This will not provide RSS feeds for the forum but for the site but depends on that either me or Chris manually add news. Not perfect as it would be better if the feed was created automatically once a recording was uploaded but at least a start. I will rearrange the old news page a bit to serve this purpose better.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 29, 2007 6:37 am 
Offline
Site Admin

Joined: Mon Jun 12, 2006 11:45 am
Posts: 9511
Location: Netherlands
robert wrote:
Not perfect as it would be better if the feed was created automatically once a recording was uploaded

Not sure that is a good idea. It would make the "News" degenerate into a listing of new recordings. We already have a page for that. Then again it would be better than no news at all...

BTW - Heard anything from schmontz about this or has he silently left us ?

_________________
Nothing is always absolutely so -- Sturgeon's law
Chris Breemer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 29, 2007 11:44 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
Nope, Mr. Schmonz are you still here with is? ;)

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 29, 2007 2:24 pm 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
I am around! Haven't had as much piano time lately as I would like... but working on that. Great to see RSS moving forward, I'll try to add to it soon.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 12:32 am 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
Cool, my login still works. I'll need RSS/Atom to keep up effectively during the semester, so I'll see if I can get something going here finally.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 12:44 am 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
schmonz wrote:
Cool, my login still works.


Hm, but I've lost track of my CMS password. Could you reset it to the one in /home/schmonz/cms.txt and then I'll change it to something better?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 5:44 am 
Offline

Joined: Sun Nov 19, 2006 7:29 am
Posts: 191
Location: Bloomington, IN
Okay, I've hacked up a copy of Chris's "new" script. Y'all can try it out like so:
Code:
$ /home/schmonz/podcast/mynew 1 html > test-new.html
$ /home/schmonz/podcast/mynew -1 html > test-all.html
$ /home/schmonz/podcast/mynew 1 xml > test-new.xml


The first two files should look awfully similar to their live counterparts (though I haven't actually let "all" run to completion), and the third is what will soon be ready to be our podcast feed. It's missing one piece of metadata, though: the MP3's duration. How are you guys-n-gals currently determining that when you post a new recording? If there's an automated tool installed, please point me at it; otherwise, we'll want to install http://www.ibiblio.org/mp3info/ or something similar.

Also, for testing purposes, could someone mkdir /var/www/virtualhost/server3.pianosociety.com/schmonz, chown'd to me, chmod 755? Once the feed has all the necessary metadata I'll want to put a copy there, run it through a validator, various browsers and feed readers, iTunes, etc., and fix whatever needs fixing. When it's really ready to publish we can rmdir schmonz and put it at a stable URL.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group