Page 1 of 11 1 2 3 ... LastLast
Results 1 to 15 of 155

Thread: What is "Javascript content syndication system"

  1. #1

    What is "Javascript content syndication system"

    It sounds cool and I want to know more

  2. #2
    Senior Member mister has disabled reputation
    Join Date
    Jan 2001
    Location
    Detroit, MI
    Age
    29
    Posts
    218
    its probably something so that you or others can put a simple javascript include and have the latest threads show up on a non-vb site (your site or an external users site)

    just a guess. i haven't gotten that far yet.
    What do you Listen-To? http://www.listen-to.com

    i <3 vBulletin.

  3. #3
    Quote Originally Posted by SpeedStreet
    It sounds cool and I want to know more
    Ditto, I as well want to know more

  4. #4

  5. #5
    vBulletin Team Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    39
    Posts
    36,200
    Blog Entries
    1
    It is something that allows you to send arrays of messages, threads or forums to another site so that they can display that infomation anywhere on the site.

    The system also does RSS information feeds for integration into other scripts and programs (Trillian, Netscape's Sidebar, etc...).
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.


  6. #6
    Yes, but what is the file or script to point to?

    Tx Wayne

  7. #7
    vBulletin Team Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke is a splendid one to behold Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    39
    Posts
    36,200
    Blog Entries
    1
    First you have to turn the options on in your ACP.

    vBulletin Options -> External Data Provider

    You are given three options and you can use any combination that you like. The options are Javascript, XML, and RSS.

    Then you link to external.php to get the information.

    Javascript = www.yourdomain.com/forumpath/external.php?type=js
    XML =
    www.yourdomain.com/forumpath/external.php?type=xml
    RSS =
    www.yourdomain.com/forumpath/external.php?type=rss
    RSS 2.0 =
    www.yourdomain.com/forumpath/external.php?type=rss2
    The system defaults to RSS so if you leave off the type, that is what you get.

    You can refine this by specifying forumids in the path like so:
    http://www.vbulletin.com/forum/external.php?forumids=55

    I am sure there is more but I haven't researched it fully yet.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.


  8. #8
    Former vBulletin Developer Scott MacVicar is on a distinguished road
    Join Date
    Dec 2000
    Location
    Reading, UK
    Posts
    13,332
    Blog Entries
    1
    just to point out defining forumids by going to

    externa.php?forumids=1,2,3,4,5
    seperate each forum with a comma.
    Scott MacVicar

    My Blog | Twitter

  9. #9
    Senior Member Kayn is on a distinguished road Kayn's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, AZ
    Age
    30
    Posts
    346
    Hrrrm, this could be extremely handy.

    How can you edit the settings, say with the javascript settings - I checked it out - http://www.pluh.com/forums/external.php?type=js - and it pulled up my first 15 posts ever.

    What are some other parameters for this nifty feature?
    Pluh.com (random nonsense) - Psychostick.com (my stupid band) - Collectiveunderground.com (AZ local music site) - Evacuatechicago.com

  10. #10
    Senior Member Mac Write is on a distinguished road
    Join Date
    Oct 2001
    Location
    Vancouver B.C.
    Age
    32
    Posts
    666
    How do you break up the information so it's not all clumped together like that?

    I want to pull the info from an announcemnt forums onto a news page for a website I am building.

    Can this also be used to display a certain thread? so that I can have the comments relating to an article on the same page with the article?

  11. #11
    I was right.

    It's nifty.

    I can't wait to hear more

  12. #12
    Former vBulletin Developer Scott MacVicar is on a distinguished road
    Join Date
    Dec 2000
    Location
    Reading, UK
    Posts
    13,332
    Blog Entries
    1
    for javascript
    <script type="text/javascript" src="http://www.url.com/external.php?type=js"></script>

    Then you just have to manipulate the arrays and you can use document.write to output the data formatted the way you want.
    Scott MacVicar

    My Blog | Twitter

  13. #13
    Senior Member Mac Write is on a distinguished road
    Join Date
    Oct 2001
    Location
    Vancouver B.C.
    Age
    32
    Posts
    666
    I know nothing about Javascript. I am not a programmer.

    Will all this be in the Documentation?

  14. #14
    Former vBulletin Developer Scott MacVicar is on a distinguished road
    Join Date
    Dec 2000
    Location
    Reading, UK
    Posts
    13,332
    Blog Entries
    1
    Some sample code will be provided in the documentation.

    Will most likely include how to format the XML document with XSLT and the JavaScript one.
    Scott MacVicar

    My Blog | Twitter

  15. #15
    Senior Member Marco is on a distinguished road
    Join Date
    Nov 2000
    Location
    The Netherlands
    Posts
    830
    Quote Originally Posted by Mac Write
    I know nothing about Javascript. I am not a programmer.

    Will all this be in the Documentation?
    If you want to play around with it already, you could use something like this:

    Code:
    <script src="/yourvb3location/external.php?type=js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    for (i in threads)
    {
    document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
    }
    //-->
    </script>
    That would output the following:

    Thread title 1 (Poster name)
    Thread title 2 (Poster name)
    ...
    Thread title 15 (Poster name)



    Or, say you want to limit it to the last 5 threads only, you would use:

    Code:
    <script type="text/javascript">
    <!--
    for (i = 0; i < 5; i++)
    {
     document.writeln(threads[i].title + "&nbsp;(" + threads[i].poster + ")<br />");
    }
    Last edited by Marco; Sat 21st Jun '03 at 2:48am.

Page 1 of 11 1 2 3 ... LastLast

Similar Threads

  1. Content Syndication System - RSS - How often does this update ?
    By succorso in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 1
    Last Post: Sat 10th Apr '04, 1:57pm
  2. Content System : Javascript Problem? Please help.
    By mharmon in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 0
    Last Post: Thu 5th Feb '04, 12:22am
  3. [Beta 4] Javascript Content Syndication
    By reefland in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 16
    Last Post: Wed 2nd Jul '03, 1:22am
  4. "page cannot be displayed" and forms content missing?
    By MattR in forum PHP & HTML Questions
    Replies: 1
    Last Post: Sun 22nd Apr '01, 6:07pm

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