Friday, November 5, 2010

Display Moodle 1.99 Glossary/Forum RSS Feed on a Prim in OpenSim

 I found out that there is no need to create a new script for the forum feeds of Moodle 1.99+. The current script below works just fine.

Glossary and Forum RSS feeds on a Prim
I updateD the script to make it easier to format on a prim.


mdl1.99_gloss_rss_feed_0.1.lsl

changes (November 5, 2010)
  1. put constants to be manually changed at top of code (font type, size, color etc.)
  2. put a title header for the glossary


Todo

I need help on the following

  1. wrap long lines on the prim
  2. select which item to display, so as to have multiple prims showing different items
Download:

http://www.mediafire.com/file/h2fu5iu49139bc2/mdl1.99_gloss_rss_feed_0.1.zip (2.94KB)

For a minor update to the script please click here

Monday, November 1, 2010

Display RSS feeds from Moodle Glossary to a prim in Opensim

I have modified Cnn-rss-feed.lsl which was contributed by Wietse Cassini (but is not credited in the scripts' header) so as to display Moodle glossary RSS feeds on a prim in OpenSim.

Moodle Glossary RSS feed displayed on a single prim in OpenSim


The script was tested on OpenSim 0.7.0.2 and Moodle 1.9.9+ (Build: 20101006). It requires AllowOSFunctions to be enabled in OpenSim.ini. Moodle settings are default.

You need to change the rss url on the script. And also I set llSetTimerEvent to 1 second during testing. Please adjust according to the level of activity in your Moodle site. Generally it should be longer.

One problem I encountered is that the Moodle RSS feed for glossary contains ISO-8859-1 characters (e.g.   , &amp:, etc.) which garbage up the prim texture. It also results in the link to not work in the viewer browser. So the code cleans up the rss feed. But the drawback is that this is hardcoded, i.e. if the format of the rss changes then the display will be messed up. It appears that the Moodle 1.9.9 rss format is different from older versions. I have included another script in the zipped file below that will deal with that.

I'm going to look into doing another for Moodle Forums feed.  Enjoy :-).

Downloads:

http://www.mediafire.com/file/3hc5d9q2wgqyhwq/mdl1.99_gloss_rss_feed.iar (121.09 KB)

http://www.mediafire.com/file/q3to35cafqp96v4/mdl_gloss_rss_feed.zip (4.23 KB) - this has two scripts, one for Moodle 1.9.9+ version and another for older versions. Check the RSS file format for deleted texts.




Friday, October 29, 2010

Unofficial sloodleset 1.1 iar for Opensim

 This is a sloodleset1.1 for developers and testers of Sloodle in Opensim. Please DO NOT send bug reports to the sloodle developers about this sloodleset. Post your comments here instead and I'll try to address them as best I can.

I am sharing this in the hope that it helps the development of Sloodle in Opensim.

This sloodleset1.1 is based on a comparison of Fumikazu Iseki's mod of sloodleset 1.0 and the sloodleset1.1 at Sloodle Island. The forum discussion on Fumi.Iseki's sloodleset 1.0 is at http://www.sloodle.org/moodle/mod/forum/discuss.php?d=2855.

How was it made?

I simply exported all the scripts in the Sloodle Island sloodleset1.1 and compared it with all the scripts in Fumi.Iseki's sloodleset1.0. Comparison was done with the Meld Diff Viewer which highlights differences in a side-by-side comparison.

Then I determine whether to update a script to 1.1 or retain Fumi.Iseki's mod. There is no modification of the textures, sounds and mesh. Except for the RegEnroll Booth which had the additional box object for hover text.

As of this post I have not tested all the sloodle objects yet. Please post a comment if you test this, on what works and what does not work.

Evaluation

Note that any reference to line numbers below are based on gedit which starts with 1 rather than 0.



Objects with Changes

Main Concern: WebIntercom

Changed Files:
  • sloodle_translation_webintercom_en
  • sloodle_mod_chat-1.0

Note: I have not retained the mod code in sloodle_mod_chat-1.0 by Fumi.Iseki because I cannot determine how to insert it in the new code. I replaced it with the 1.1 code. Please help evaluate and check this if it works.


RegEnrol Booth

Changed files:
  • sloodle_mod_regbooth-1.0
  • sloodle_setup_notecard

Note: The green hover text that says "Touch me to start web configuration" appears to no longer display.

Added:
  • hovertext box object
  • _setText script

    Vending Machine

    Changed files:
    • sloodle_translation_distributor
    • sloodle_mod_distributor-1.0


    Removed:
    • SLOODLE 1.0 Vending Machine (Rev 1) README


      Presenter

      Changed files:
      • modified: sloodle_mod_presenter-2.0
      • sloodle_translation_presenter_en

        Toolbar Giver


        Changed file:
        • get a toolbar



          Objects without Changes



          Quiz Pile-On

          Note:  The following lines are not in Sloodle Island sloodleset1.1. It is not identified as "for OpenSim" in sloodleset1.0 but the file is listed as modified by Fumikazu Iseki in the forum above. I have decided to retain the 1.0 script. Please check.



          Retained 1.0 script:
          • sloodle_quiz_pile_on_choice
          line 46:         llSetStatus(STATUS_PHANTOM, FALSE);
          line 57:         llSetStatus(STATUS_PHANTOM, TRUE);


          Lite Toolbar

          • Retained script: sloodle_toolbar_menu_lite

          Note:  Lines 106, 107, 130, and 138 do not exist in 1.1 and not identified "for OpenSim". It is identified by Fumikazu Iseki as a mod file for OS in the forum above. Please check.

          The following objects are retained without modification except changing the name to 1.1.
          • Sloodle Set (cellphone look alike main object)
          • PrimDrop
          • Quiz Chair
          • Choice (Horizontal)
          • Choice (Vertical)
          • LoginZone
          • MetaGloss
          • Password Reset
          • PictureGloss
          • Toolbar (Full)


          If there is anything that I missed please inform me by leaving a comment here.

          Download:

          http://www.mediafire.com/file/ejatscehdfiyaep/sloodleset1.1_unofficial.iar (2.29 MB)

          Sloodle Forum tread: http://www.sloodle.org/moodle/mod/forum/discuss.php?d=3314

          Wednesday, October 27, 2010

          Unfurnished bahay na bato prim object

          This is a 544 prim bahay na bato.

          Downloads:

          http://www.mediafire.com/file/em1s2cgfem6v2ed/bahaynabato.iar (1.03 MB )

          http://www.mediafire.com/file/1aysktd7uoms4jc/bnbXML.zip (1 MB )


          Copyright Roel Cantada 2010




          comedor

          azotea

          sala

          a cuarto

          antesala

          cocheria and cuadra


          back

          west side

          front

          east side



          Sunday, October 24, 2010

          Monkey mesh complete

          I finally finished my monkey mesh. I would need to give it fur and materials later.





           
          Creative Commons License
          This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.