Results 1 to 4 of 4

Thread: rssPit RSS subscription box

  1. #1
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default rssPit RSS subscription box

    1) CODE TITLE: rssPit RSS subscription box

    2) AUTHOR NAME: Alexey Trofimov

    3) DESCRIPTION: rssPit.com RSS subscription box for your RSS feeds.

    4) URL TO CODE: http://rssPit.com

    Instructions:
    1. Add this code immediately before the closing </head> tag:
    <script type="text/javascript" src="http://rsspit.com/rsspit.js"></script>
    2.1. Insert class="rsspit" into your RSS link tags.
    or
    2.2. Add hash (aka "fragment identifier") #rsspit to the link URLs instead.
    or
    2.3. Call via JavaScript the rssPit.processLink(oElement), where oElement is the RSS link id or object.

    that's it! Although, also see Javascript API at http://rssPit.com
    Last edited by trof; 09-01-2010 at 10:47 PM.

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    JS limits class names to 1? I thought you could have any amount of class name within an elements class attribute.
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bluewalrus View Post
    JS limits class names to 1? I thought you could have any amount of class name within an elements class attribute.
    You are right - technically you can use several names in the class (in fact this script does it too) . This part of the instructions must be rewritten.
    Done.
    Thanks!

  4. #4
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    API description added:
    rssPit.processLink(oElement)
    rssPit.setShowDelay(iMSeconds)
    rssPit.setHideDelay(iMSeconds)
    rssPit.parsePage()
    rssPit.setLanguage(strLang)
    rssPit.showBox(strRssUrl,X,Y)
    rssPit.showBoxModal(strRssUrl)

    Suggestions are welcome

Bookmarks

Posting Permissions

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