The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > DigitalMods (Scripts / API)

Reply
 
Thread Tools Display Modes
Old 10-15-2006, 11:12 AM   #1
Newbie
 
Join Date: Aug 2006
Posts: 36
My Photos: (0)
Post Traffic Report Module

I will like to have/built a module for the Traffic Report, for some of you this should be basics, but I have no programming skills .

Compare to the Podcast and the Weather module this should be an easy one, It will also use RSS, and the interface should be very simple. This is where I want to pull the RSS from:

http://rss.traffic.com/rss.xml?c=jqH...gDw7cZRg4oM%3D

Is there any documentation on how to use RSS functions in SD?, any Help?
filatelico is offline   Reply With Quote
Sponsored Links
Old 10-15-2006, 11:44 AM   #2
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,957
My Photos: (0)
Theres no RSS functions per say. RSS is just an online accessible XML file.

The only StreetDeck function you need to use is Utility.DownloadFile to download the online XML file then just load the MS XML parser as a COM object and parse the RSS feed as an XML file. As you mentioned, both of these things are demonstrated in both the podcast and weather DigitalMods.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote
Old 10-17-2006, 09:06 PM   #3
Newbie
 
Join Date: Aug 2006
Posts: 36
My Photos: (0)
It worked!, after a quick reading about xml and xml Dom, etc, it was not that dificult, right now its working with text only, maybe you can help me with a question.

How do I extract just part of the text in a specific node?, for example the date and time that the report was created is part of the title, and I only want to diplay the time.

Thanks

Last edited by filatelico : 10-18-2006 at 08:58 AM.
filatelico is offline   Reply With Quote
Old 10-18-2006, 07:09 AM   #4
Variable Bitrate
 
polo6979's Avatar
 
Join Date: Aug 2006
Location: Atlanta, GA
Vehicle: 2003 BMW 325ci Sport
Posts: 379
My Photos: (14)
Good luck with this.... another GREAT addition to SD!!!
__________________
BMW 325ci Sport in the works
95% done
Here is my project.

PCI - PCMCI Controller for sale.
polo6979 is offline   Reply With Quote
Old 10-18-2006, 11:23 AM   #5
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,957
My Photos: (0)
Quote: Originally Posted by filatelico View Post
How do I extract just part of the text in a specific node?, for example the date and time that the report was created is part of the title, and I only want to diplay the time.

Use the vbscript string functions, i.e. Mid, Left, Right, and InStr shoudl do it.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote
Old 10-18-2006, 05:10 PM   #6
Constant Bitrate
 
jsdr78's Avatar
 
Join Date: May 2006
Posts: 153
My Photos: (2)
Filatelico that is a good idea. once you have completed that MOD would you share.
jsdr78 is offline   Reply With Quote
Old 10-18-2006, 05:58 PM   #7
Maximum Bitrate
 
tn6478's Avatar
 
Join Date: Jun 2006
Location: Houston, TX
Posts: 776
My Photos: (0)
Quote: Originally Posted by jsdr78 View Post
Filatelico that is a good idea. once you have completed that MOD would you share.

I already have that mod
tn6478 is offline   Reply With Quote
Old 10-19-2006, 02:30 PM   #8
Newbie
 
Join Date: Aug 2006
Posts: 36
My Photos: (0)
Thanks Chuck, that should do it.......2 more questions:

1. How do I calculate the distance between 2 coordinates?
2. Is there a way to send data to the navigation module from a Digital Mod, like a coordinate or address result, and start the navigation to that location, how?.

So far the mod does 2 things:
1.Give you a Jam report for specific routes based on traffic.com
2.Accident report based on GPS location

Are they any disclaimers or lagalities about sharing mods?, I would like to post it once its done.

Last edited by filatelico : 10-19-2006 at 02:33 PM.
filatelico is offline   Reply With Quote
Old 01-02-2007, 08:37 AM   #9
Newbie
 
Join Date: Jul 2006
Posts: 42
My Photos: (0)
Thumbs up

Quote: Originally Posted by tn6478 View Post
I already have that mod

You alread have a traffic mod? Can you share?

Kris
kristiandg is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XMLTraffic Plugin 307SW_NLD RR Plugins 20 09-14-2006 05:20 PM
Interfacedefinition for Car-PC Module hematec FP FrodoComm 5 12-04-2005 05:46 AM
The point on NMC [VIDEO UPDATE] netsuo NeoCar Media Center 16 08-19-2005 11:44 PM
possible uploading traffic info,weather report on MM, RR? mick0uziel Road Runner 14 08-09-2005 01:26 PM


All times are GMT -5. The time now is 10:28 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics