User login
|
|
Frontpage Sponsor
|
|
Google search
|
|
Poll
|
For ERP LN feature pack upgrade, what method of install are you using? Installation Wizard into existing VRC 38% Installation Wizard into new VRC 38% Manual into existing VRC 5% Manual into new VRC 19% Total votes: 42 |
Baanboard at LinkedIn
|

|
|
|
 |

22nd January 2015, 15:55
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,345
|
|
Baan: LN FP 1-9, 10.4, a little bit of Baan IV -
DB: SQL Server 2008, Oracle -
OS: Windows Server 2008 R2, Unix
|
Baan/LN Way - Live Cricket Scores - Powered by Yahoo Pipes! World Cup 2015!!
Hi,
So, this utility is for the ones who wants to -
1. Connect LN with Cricket
2. Who wants to know the XML Parsing in LN
3. Who wants to know the concepts of pipes.
4. Who wants to know about curl usage.
So, here it goes.
1. Create a 3GL Script.
2. Copy the attached code.
3. Run it.
You can use it in whichever you like i.e. creating display session, report, dialogue etc maintaining the terms & conditions noted.
This utility uses Yahoo Pipes to generate the XML of the live cricket scores and stores it on server. LN takes care of parsing and showing the results.
So, have fun! :)
Note- File name is currently Windows compliant. Change it according to the server.
__________________
Regards,
Bhushan
Unless you try to do something beyond what you have already mastered, you will never grow!
|

27th January 2015, 12:47
|
Member
|
|
Join Date: Dec 2012
Posts: 42
|
|
Baan: ERP LN FP7 -
DB: SQL Server 2008 -
OS: Windows Server 2008 R2
|
this was fun.. works like a charm. Thank u.. 2 days back ws thinking what curl actually does. good one.
|

28th January 2015, 05:31
|
 |
Member
|
|
Join Date: Feb 2014
Location: Surat Gujarat
Posts: 68
|
|
Baan: ERP LN FP9 -
DB: MY SQL -
OS: Windows
|
Getting Error Message
Hi bhushanchanda,
I was run your 3gl and getting error message "couldn't resolve host name".
Is there any solution for this?
|

28th January 2015, 08:13
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,345
|
|
Baan: LN FP 1-9, 10.4, a little bit of Baan IV -
DB: SQL Server 2008, Oracle -
OS: Windows Server 2008 R2, Unix
|
Hi,
Make sure your server is connected to the internet.
Try to run this link on your server browser to see if you get an xml view.
http://pipes.yahoo.com/pipes/pipe.ru...vQ&_render=rss
__________________
Regards,
Bhushan
Unless you try to do something beyond what you have already mastered, you will never grow!
|

28th January 2015, 09:13
|
 |
Member
|
|
Join Date: Feb 2014
Location: Surat Gujarat
Posts: 68
|
|
Baan: ERP LN FP9 -
DB: MY SQL -
OS: Windows
|
Hi bhushanchanda,
This link is open successfully in my server browser.
|

28th January 2015, 09:15
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,345
|
|
Baan: LN FP 1-9, 10.4, a little bit of Baan IV -
DB: SQL Server 2008, Oracle -
OS: Windows Server 2008 R2, Unix
|
Hi,
Now check if the contents are downloaded or not to the file you are providing. Debug and see the return value for curl.download.. function.
__________________
Regards,
Bhushan
Unless you try to do something beyond what you have already mastered, you will never grow!
|

28th January 2015, 09:17
|
 |
Member
|
|
Join Date: Feb 2014
Location: Surat Gujarat
Posts: 68
|
|
Baan: ERP LN FP9 -
DB: MY SQL -
OS: Windows
|
HI,
It Return ret Value as 6 and that file is create cric.xml but it is blank
|

28th January 2015, 09:37
|
 |
Guru
|
|
Join Date: Sep 2012
Location: India
Posts: 2,345
|
|
Baan: LN FP 1-9, 10.4, a little bit of Baan IV -
DB: SQL Server 2008, Oracle -
OS: Windows Server 2008 R2, Unix
|
Hi,
Check if you have not mistyped any thing in that URL. Alao, try to run the program from Server and check the result.
__________________
Regards,
Bhushan
Unless you try to do something beyond what you have already mastered, you will never grow!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|