Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2013
    Posts
    16
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Javascript Advice

    Hello,

    I am writing to you all to request for some advice.

    As part of my university assignment my task is to create a website widget which pulls data from another site and presents it, maybe using RSS. Although we can use builders such as yahoo pipes, the highest marks go to those that code it from scratch. This is where I need advice.

    The widget's chosen theme by myself is Trance music, so perhaps pulling an RSS showing the latest new releases.

    I can't find many coding tutorial for anything similar to this. Do you have any links to tutorial which may be appropriate?

    Is Javascript best for this or should I use XML or another language?

    If anyone has any advice I would appreciate this.

    I just need to get the ball rolling.

    Kind Regards,

    Nicholas Crane

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,184
    Thanks
    10
    Thanked 569 Times in 550 Posts
    piped replaces server-side code, something that's not going to be easy to do using javascript. You will have to find an RSS feed that uses CORS if you want JS alone to fetch it.

    on the other hand, there are lots of jsonp music APIs out there that you can use to get album info, artist photos, etc. freedb, musicbrainz, archive.org, and to a lessor extent lastFM, which has predictable URLs (good with iframes) but no JSONP/CORS api...

    you can use an <audio> tag to platy music from anywhere, so prehaps that can be your unique selling point instead of an RSS collector. OTOH, If you do use RSS and YQL/pipes, podcasts open the vault to tons of <audio>-friendly music URLs via the enclosure tag.


    i would think a playlist-based audio app with artist info and news would make a good impression.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/1/19) IE7:0.2, IE8:6.7, IE11:7.4, IE9:3.8, IE10:4.4, FF:18.3, CH:43.6, SF:7.8, MOBILE:27.5


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •