Page 1 of 3 123 LastLast
Results 1 to 15 of 38
  1. #1

    • Know More Than You Should
    • Offline

    Join Date
    Feb 2005
    Location
    Experiencing Technical Difficulties
    Posts
    2,906

    Disneyland Resort Information Widget

    I'm not sure how many of you use the Yahoo! Widget Engine, formerly known as konfabulator, but for those of you who do, I have a treat for you.

    For those of you who don't, Konfabulator is a free program that runs on both Mac and PC. It allows you to download 'Widgets': small programs that can perform various tasks, such as telling the time, the weather, counting down to something, displaying photos, etc...

    It was Konfabulator that inspired the Mac dashboard, and they are essentially the same. Konfabulator was bought by Yahoo! in 2005, and is now called "Yahoo! Widget Engine".

    You can download Konfabulator/Yahoo! Widget Engine at:

    http://widgets.yahoo.com/

    Now, with the summer and my vacation I've had (more than) a little free time, so I've written a widget which I think you all will find useful. It grabs from the Disneyland website and displays the current park hours and attraction closures for Disneyland and Disney's California Adventure.



    The widget will update once an hour with the latest information taken from the Disneyland website, so of course you'll need an internet connection. You can also right-click the widget and choose "Update" to force it to update.

    IMPORTANT NOTE: Disneyland.com does not list the park hours when the park is closed. Thus, if you happen to be looking at the widget late at night, the park hours will be blank. Don't panic- the park hours will return once the park hours are listed. I may change this in a future verision by taking the hours from the calendar page, but for now that's how it is.

    Enjoy!

    http://www.carouselofmagic.com/widge...rmation.widget


    Last edited by Club 33; 06-19-2006 at 11:35 PM.













  2. #2

    • Super saucy pixie!
    • Offline

    Join Date
    Jan 2005
    Posts
    841

    Re: Disneyland Resort Information Widget

    Wow! Cool! Thanks for posting this.

  3. #3

    •   
      MiceChat Round-Up Crew
    • .-- . .-.. -.-. --- -- .
    • Offline

    Join Date
    Jul 2005
    Location
    Not at Disneyland :(
    Posts
    2,477

    Re: Disneyland Resort Information Widget

    That is complete awesome, good job.
    Stalking is when two people go for a long romantic walk together but only one of them knows about it.

  4. #4

    • Know More Than You Should
    • Offline

    Join Date
    Feb 2005
    Location
    Experiencing Technical Difficulties
    Posts
    2,906

    Re: Disneyland Resort Information Widget

    I'm glad you liked it! Expect a WDW version in a few days... I've already coded it to grab the information, so now its just making it look nice...













  5. #5

    • Oh... it's a bobby pin.
    • Offline

    Join Date
    Jun 2006
    Location
    Oakley, CA.
    Posts
    2,249

    Re: Disneyland Resort Information Widget

    Totally off topic... but... my Dog's name is Widget! I didn't know that it meant anything!

    Thanks!

    Cool program, by the way!

  6. #6

    • Defying gravity
    • Offline

    Join Date
    May 2006
    Posts
    4,345

    Re: Disneyland Resort Information Widget

    Wow, I really like your videos. They help me relive the magic! Last time I was in DL, it was March. I went to WDW in June. I'll be going back to DL in November. Thanks!

  7. #7

    • Know More Than You Should
    • Offline

    Join Date
    Feb 2005
    Location
    Experiencing Technical Difficulties
    Posts
    2,906

    Re: Disneyland Resort Information Widget

    Quote Originally Posted by DisneyPrincess4590
    Wow, I really like your videos. They help me relive the magic! Last time I was in DL, it was March. I went to WDW in June. I'll be going back to DL in November. Thanks!
    While it's a bit off topic- thank you very much! On that topic, expect lots more videos soon. I will be visiting DCA sometime in the next month (haven't picked a date yet) and will be having my own 'gumball rally'- every attraction in one day (easier at DCA than Disneyland)! And I will be videotaping!

    Then in late July, I will be flying to Florida for 4 days at Disneyworld, where I plan to hit all four parks (again, with my trustly videocamera). I am currently at work collecting lots of source audio for use in my vidoes.

    Finnaly, in December I will be taking a trip to DL with my family who will be visiting, and I will be filming Fantasmic! from the Disney Gallery balcony.

    So look forward to lots more videos!













  8. #8

    • ROFLCOPTER!
    • Offline

    Join Date
    May 2006
    Posts
    161

    Re: Disneyland Resort Information Widget

    Ooo, that is cool! Do you know if there's some version that can work on a pocket pc? Because that would be even cooler.

  9. #9

    • Know More Than You Should
    • Offline

    Join Date
    Feb 2005
    Location
    Experiencing Technical Difficulties
    Posts
    2,906

    Re: Disneyland Resort Information Widget

    Quote Originally Posted by Trintara
    Ooo, that is cool! Do you know if there's some version that can work on a pocket pc? Because that would be even cooler.
    Not that I'm aware of; but I plan to work on an Internet Browser version, so you could just browse to it with your pocketpc or mobile phone.













  10. #10

    • ROFLCOPTER!
    • Offline

    Join Date
    May 2006
    Posts
    161

    Re: Disneyland Resort Information Widget

    Yes, yes, that would indeed work! See, when I'm at home I can quickly access that information already, but a quicker loading version of whatever sort for pocket pc... now that'd be useful.

  11. #11

    • Having a Grand Day!
    • Offline

    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Posts
    1,185

    Re: Disneyland Resort Information Widget

    Club 33,

    How's it getting the information from Disneyland.com? I'm assuming it's a XML feed of some sort, but I didn't notice one on the wesbite.

  12. #12

    • Know More Than You Should
    • Offline

    Join Date
    Feb 2005
    Location
    Experiencing Technical Difficulties
    Posts
    2,906

    Re: Disneyland Resort Information Widget

    Quote Originally Posted by drnilescrane
    Club 33,

    How's it getting the information from Disneyland.com? I'm assuming it's a XML feed of some sort, but I didn't notice one on the wesbite.
    An XML feed? Nope. That would have been easy.

    The first issue was getting the widget to just grab the home page. Unfortunetly this would up with some weird text returned, so I routed the page through a special PHP page on my own site.

    What the widget does is check the Disneyland.com home page and Calendar pages. Then it sorts through the code and 'snips' out the text where the information is. I've done the same thing for WDW, but that widget isn't finished yet.

    If you'd like to take a look at the code yourself, just rename the .widget file to a .zip and unzip it. There will be three files in this folder, two of them are images, and one is a .kon file, which is the actual widget code. If you'd like, you can edit the code yourself and rezip and name the file if you'd like to change it.

    Or, just read the code which I've posted below:

    HTML Code:
    <widget>
        <debug>off</debug>
    <about-box><image>about.png</image></about-box>
        <window>
            <name>main_window</name>
            <title>Disneyland Resort Park Information</title>
            <shadow>true</shadow>
            <height>380</height>
            <width>320</width>
            <visible>true</visible>
            
            <contextMenuItems>
                <menuItem title="Update">
                       <onSelect>
                        getStuff();
                       </onSelect>
                </menuItem>
                <menuItem title="Visit Disneyland.com">
                       <onSelect>
                        openURL("http://www.disneyland.com");
                       </onSelect>
                </menuItem>
            </contextMenuItems>
            <image src="dlr_sign.png" name="sign">
            </image>
            <text>
                <name>DL</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <vOffset>195</vOffset>
                <hOffset>54</hOffset>
            </text>
            <text>
                <name>DCA</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <vOffset>195</vOffset>
                <hOffset>164</hOffset>
            </text>
            <text>
                <name>DLRefurb1</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>243</vOffset>
                <hOffset>52</hOffset>
            </text>    
            <text>
                <name>DLRefurb2</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>255</vOffset>
                <hOffset>52</hOffset>
            </text>    
            <text>
                <name>DLRefurb3</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>267</vOffset>
                <hOffset>52</hOffset>
            </text>    
            <text>
                <name>DLRefurb4</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>279</vOffset>
                <hOffset>52</hOffset>
            </text>    
            <text>
                <name>DLRefurb5</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>291</vOffset>
                <hOffset>52</hOffset>
            </text>    
            <text>
                <name>DLRefurb6</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>303</vOffset>
                <hOffset>52</hOffset>
            </text>    
            <text>
                <name>DCARefurb1</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>243</vOffset>
                <hOffset>162</hOffset>
            </text>    
            <text>
                <name>DCARefurb2</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>255</vOffset>
                <hOffset>162</hOffset>
            </text>    
            <text>
                <name>DCARefurb3</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>267</vOffset>
                <hOffset>162</hOffset>
            </text>    
            <text>
                <name>DCARefurb4</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>279</vOffset>
                <hOffset>162</hOffset>
            </text>    
            <text>
                <name>DCARefurb5</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>291</vOffset>
                <hOffset>162</hOffset>
            </text>    
            <text>
                <name>DCARefurb6</name>
                <color>#000040</color>
                <size>10</size>
                <alignment>left</alignment>
                <width>95</width>
                <vOffset>303</vOffset>
                <hOffset>162</hOffset>
            </text>    
        </window>
        <action trigger="onLoad">
            function getStuff()
            {
                //Get DLR Homepage
                urlFetch = new URL();
                urlFetch.location = "http://www.carouselofmagic.com/dlr.php";
                var base = urlFetch.fetch();
    
                //Find Disneyland Hours
                var DLS = base.substring(base.indexOf("&lt;!-- Resort Hours Module Begin --&gt;"), base.indexOf("&lt;!-- Resort Hours Module End --&gt;"));
                DLS = DLS.substring(227, DLS.length);
                DLS = DLS.substring(0, DLS.indexOf("&lt;"));
                DL.data = DLS;
    
                //Find DCA Hours
                var DCAS = base.substring(base.indexOf("&lt;!-- Resort Hours Module Begin --&gt;"), base.indexOf("&lt;!-- Resort Hours Module End --&gt;"));
                DCAS = DCAS.substring(DCAS.indexOf("Disney's California Adventure"), DCAS.length);
                DCAS = DCAS.substring(118, DCAS.length);            
                DCAS = DCAS.substring(0, DCAS.indexOf("&lt;"));
                DCA.data = DCAS;
    
                //Get DLR Calendar
                urlDLR = new URL();
                urlDLR.location = "http://carouselofmagic.com/get.php?p=http://disneyland.disney.go.com/disneyland/en_US/calendar/daily/daily?name=CalendarDailyPage";
                var Calbase = urlDLR.fetch();
    
    
                //Get DLR Refurbs
                var DLRbase = Calbase.substring(Calbase.indexOf("Closed for Refurbishment:"), Calbase.indexOf("&lt;!-- DISNEYS CALIFORNIA ADVENTURE --&gt;"));
                DLRbase = DLRbase.substring(40, DLRbase.length);
    
                if(DLRbase.substring(DLRbase.indexOf("&lt;div&gt;"), DLRbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DLRefurb1.data = DLRbase.substring(DLRbase.indexOf("&lt;div&gt;") + 5, DLRbase.indexOf("&lt;/div&gt;"));
                if(DLRefurb1.data.length > 18)
                    DLRefurb1.size = 9;
                if(DLRefurb1.data.length > 22)
                    DLRefurb1.size = 8;
                DLRbase = DLRbase.substring(DLRbase.indexOf("&lt;/div&gt;") + 5, DLRbase.length);
                }
            
                else
                    {
                    DLRefurb1.data = "No Current Refurbishments";
                    DLRefurb1.size = 8;
                    }
                
                if(DLRbase.substring(DLRbase.indexOf("&lt;div&gt;"), DLRbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DLRefurb2.data = DLRbase.substring(DLRbase.indexOf("&lt;div&gt;") + 5, DLRbase.indexOf("&lt;/div&gt;"));
                if(DLRefurb2.data.length > 18)
                    DLRefurb2.size = 9;
                if(DLRefurb2.data.length > 22)
                    DLRefurb2.size = 8;
                DLRbase = DLRbase.substring(DLRbase.indexOf("&lt;/div&gt;") + 5, DLRbase.length);
                }
                
                if(DLRbase.substring(DLRbase.indexOf("&lt;div&gt;"), DLRbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DLRefurb3.data = DLRbase.substring(DLRbase.indexOf("&lt;div&gt;") + 5, DLRbase.indexOf("&lt;/div&gt;"));
                if(DLRefurb3.data.length > 18)
                    DLRefurb3.size = 9;
                if(DLRefurb3.data.length > 22)
                    DLRefurb3.size = 8;
                DLRbase = DLRbase.substring(DLRbase.indexOf("&lt;/div&gt;") + 5, DLRbase.length);
                }
    
                if(DLRbase.substring(DLRbase.indexOf("&lt;div&gt;"), DLRbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DLRefurb4.data = DLRbase.substring(DLRbase.indexOf("&lt;div&gt;") + 5, DLRbase.indexOf("&lt;/div&gt;"));
                if(DLRefurb4.data.length > 18)
                    DLRefurb4.size = 9;
                if(DLRefurb4.data.length > 22)
                    DLRefurb4.size = 8;
                DLRbase = DLRbase.substring(DLRbase.indexOf("&lt;/div&gt;") + 5, DLRbase.length);
                }
    
                if(DLRbase.substring(DLRbase.indexOf("&lt;div&gt;"), DLRbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DLRefurb5.data = DLRbase.substring(DLRbase.indexOf("&lt;div&gt;") + 5, DLRbase.indexOf("&lt;/div&gt;"));
                if(DLRefurb5.data.length > 18)
                    DLRefurb5.size = 9;
                if(DLRefurb5.data.length > 22)
                    DLRefurb5.size = 8;
                DLRbase = DLRbase.substring(DLRbase.indexOf("&lt;/div&gt;") + 5, DLRbase.length);
                }
    
                if(DLRbase.substring(DLRbase.indexOf("&lt;div&gt;"), DLRbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DLRefurb6.data = DLRbase.substring(DLRbase.indexOf("&lt;div&gt;") + 5, DLRbase.indexOf("&lt;/div&gt;"));
                if(DLRefurb6.data.length > 18)
                    DLRefurb6.size = 9;
                if(DLRefurb6.data.length > 22)
                    DLRefurb6.size = 8;
                DLRbase = DLRbase.substring(DLRbase.indexOf("&lt;/div&gt;") + 5, DLRbase.length);
                }
    
                //Get DCA Refurbs
                var DCAbase = Calbase.substring(Calbase.indexOf("&lt;!-- DISNEYS CALIFORNIA ADVENTURE --&gt;"), Calbase.indexOf("&lt;!-- DOWNTOWN DISNEY --&gt;"));
                DCAbase = DCAbase.substring(DCAbase.indexOf("Closed for Refurbishment:"), DCAbase.length);
                DCAbase = DCAbase.substring(40, DCAbase.length);
    
                if(DCAbase.substring(DCAbase.indexOf("&lt;div&gt;"), DCAbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DCARefurb1.data = DCAbase.substring(DCAbase.indexOf("&lt;div&gt;") + 5, DCAbase.indexOf("&lt;/div&gt;"));
                if(DCARefurb1.data.length > 22)
                    DCARefurb1.size = 8;
                else if(DCARefurb1.data.length > 18)
                    DCARefurb1.size = 9;
                DCAbase = DCAbase.substring(DCAbase.indexOf("&lt;/div&gt;") + 5, DCAbase.length);
                }
            
                else
                    {
                    DCARefurb1.data = "No Current Refurbishments";
                    DCARefurb1.size = 8;
                    }
    
                if(DCAbase.substring(DCAbase.indexOf("&lt;div&gt;"), DCAbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DCARefurb2.data = DCAbase.substring(DCAbase.indexOf("&lt;div&gt;") + 5, DCAbase.indexOf("&lt;/div&gt;"));
                if(DCARefurb2.data.length > 22)
                    DCARefurb2.size = 8;
                else if(DCARefurb2.data.length > 18)
                    DCARefurb2.size = 9;
                DCAbase = DCAbase.substring(DCAbase.indexOf("&lt;/div&gt;") + 5, DCAbase.length);
                }
    
                if(DCAbase.substring(DCAbase.indexOf("&lt;div&gt;"), DCAbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DCARefurb31.data = DCAbase.substring(DCAbase.indexOf("&lt;div&gt;") + 5, DCAbase.indexOf("&lt;/div&gt;"));
                if(DCARefurb3.data.length > 22)
                    DCARefurb3.size = 8;
                else if(DCARefurb3.data.length > 18)
                    DCARefurb3.size = 9;
                DCAbase = DCAbase.substring(DCAbase.indexOf("&lt;/div&gt;") + 5, DCAbase.length);
                }
    
                if(DCAbase.substring(DCAbase.indexOf("&lt;div&gt;"), DCAbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DCARefurb4.data = DCAbase.substring(DCAbase.indexOf("&lt;div&gt;") + 5, DCAbase.indexOf("&lt;/div&gt;"));
                if(DCARefurb4.data.length > 22)
                    DCARefurb4.size = 8;
                else if(DCARefurb4.data.length > 18)
                    DCARefurb4.size = 9;
                DCAbase = DCAbase.substring(DCAbase.indexOf("&lt;/div&gt;") + 5, DCAbase.length);
                }
    
                if(DCAbase.substring(DCAbase.indexOf("&lt;div&gt;"), DCAbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DCARefurb5.data = DCAbase.substring(DCAbase.indexOf("&lt;div&gt;") + 5, DCAbase.indexOf("&lt;/div&gt;"));
                if(DCARefurb5.data.length > 22)
                    DCARefurb5.size = 8;
                else if(DCARefurb5.data.length > 18)
                    DCARefurb5.size = 9;
                DCAbase = DCAbase.substring(DCAbase.indexOf("&lt;/div&gt;") + 5, DCAbase.length);
                }
    
                if(DCAbase.substring(DCAbase.indexOf("&lt;div&gt;"), DCAbase.indexOf("&lt;/div&gt;")).length > 5)
                {
                DCARefurb6.data = DCAbase.substring(DCAbase.indexOf("&lt;div&gt;") + 5, DCAbase.indexOf("&lt;/div&gt;"));
                if(DCARefurb6.data.length > 22)
                    DCARefurb6.size = 8;
                else if(DCARefurb6.data.length > 18)
                    DCARefurb6.size = 9;
                DCAbase = DCAbase.substring(DCAbase.indexOf("&lt;/div&gt;") + 5, DCAbase.length);
                }
    
            }
            getStuff();
        </action>
    
        <timer>
            <interval>3600</interval>
            <ticking>true</ticking>
            <onTimerFired>
                getStuff();
            </onTimerFired>
        </timer>
    </widget>













  13. #13

    • Having a Grand Day!
    • Offline

    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Posts
    1,185

    Re: Disneyland Resort Information Widget

    Interesting to see what you have done with that code - You just have to hope they don't change it!

    I hope you plan to port this to the Windows Vista sidebar someday.

  14. #14

    • Know More Than You Should
    • Offline

    Join Date
    Feb 2005
    Location
    Experiencing Technical Difficulties
    Posts
    2,906

    Re: Disneyland Resort Information Widget

    Quote Originally Posted by drnilescrane
    Interesting to see what you have done with that code - You just have to hope they don't change it!
    Yes, that would be a bit of a problem. As a matter of fact, I believe that they are adding a pirates overlay to the site soon. Hmmm, we'll have to see what happens.

    I hope you plan to port this to the Windows Vista sidebar someday.
    Well first I'll have to get Windows Vista. Then I'll look into that.

    I'd like to create a version for the Google Personalized homepage as well, come to think of it.













  15. #15

    • Defying gravity
    • Offline

    Join Date
    May 2006
    Posts
    4,345

    Re: Disneyland Resort Information Widget

    Quote Originally Posted by Club 33
    While it's a bit off topic- thank you very much! On that topic, expect lots more videos soon. I will be visiting DCA sometime in the next month (haven't picked a date yet) and will be having my own 'gumball rally'- every attraction in one day (easier at DCA than Disneyland)! And I will be videotaping!

    Then in late July, I will be flying to Florida for 4 days at Disneyworld, where I plan to hit all four parks (again, with my trustly videocamera). I am currently at work collecting lots of source audio for use in my vidoes.

    Finnaly, in December I will be taking a trip to DL with my family who will be visiting, and I will be filming Fantasmic! from the Disney Gallery balcony.

    So look forward to lots more videos!

    Could you please film Splash Mountain? Maybe the Zip-a-Dee-Do-Dah part after the big drop...

    Also, may I ask how you film Matterhorn and Space Mountain wo/ dropping your camera???

Page 1 of 3 123 LastLast

Similar Threads

  1. Guitar Hero Widget
    By justjohn in forum Disney Interactive and Game Industry Discussion
    Replies: 7
    Last Post: 05-05-2008, 03:47 PM
  2. Replies: 20
    Last Post: 06-21-2007, 10:17 PM
  3. Disneyland Hotel Information
    By browncoatfrankie in forum Disneyland Resort
    Replies: 16
    Last Post: 01-05-2007, 11:56 AM
  4. VF Radio Widget
    By almandot in forum The Tech Lounge
    Replies: 0
    Last Post: 09-29-2005, 07:35 PM
  5. The Disneyland Information Thread
    By Barbaraann in forum Disneyland Resort
    Replies: 68
    Last Post: 08-15-2005, 06:00 PM

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
  •