Importing XML Data

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Raheel
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 24
Joined: Tue May 03, 2011 8:53 am

Importing XML Data

Post by Raheel » Wed Dec 07, 2011 12:46 pm

Hello,

Is there a way to import data in xml format and display it in a scriptlet. I want to import display google calendar on my site, thanks.

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: Importing XML Data

Post by david-ebt » Wed Dec 07, 2011 1:31 pm

Raheel,

The AbleCommerce DataPort tool can import XML (see http://wiki.ablecommerce.com/index.php/ ... rt_Utility). It doesn't sound like your data is related to a product, a user or an order, so using the DataPort tool or any other AbleCommerce mechanism is probably not an option.

A couple of questions. Where would you display the Google calendar data? How much data do you have? How often would it be updated?

Options are to create a new data structure to store the data and then you'd need an admin tool or access to the SQL Server to import the calendar data. If you just want to display the calendar data on a page, you could upload the XML file from Google calendar and then create an ASP.NET user control that reads and displays directly from the XML file. That user control can be as fancy or as simple as you like.
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Importing XML Data

Post by AbleMods » Sun Dec 11, 2011 10:18 pm

Raheel wrote: I want to import display google calendar on my site, thanks.
Be a whole lot easier to do it this way:
http://support.google.com/calendar/bin/ ... swer=41207
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply