Hello all,
Okay, I'm no JS programmer, but I'd love to learn. One project I think might be fun to write plus useful is something that'll take an RSS Feed and plug the downloaded media files into a file area then use details from the XML file to create details. Problem is I have no idea where to start!
For those seasoned in JS and how it works with Sync, would this be a decent first project to attempt? I used to program in C++ many years ago in MS-DOS, but it's been literally 7-10 years since I wrote a piece of code. Currently I mainly program for web, so that's PHP and ColdFusion, but I
wnat something that'll be portable and something I can share with others easily, which is why JS might be best.
Thanks for any advice or maybe pointers to do some Hello World apps with JS and Sync.
Re: Writing custom script
By: Sam Alexander to All on Thu Apr 06 2006 05:50 pm
Hello all,
Okay, I'm no JS programmer, but I'd love to learn. One project I think might be fun to write plus useful is something that'll take an RSS Feed a plug the downloaded media files into a file area then use details from th XML file to create details. Problem is I have no idea where to start!
RSS-fed media files?!? The RSS feeds I'm aware of feed *text* (snippets of n articles with the links to the full article).
For those seasoned in JS and how it works with Sync, would this be a dece first project to attempt? I used to program in C++ many years ago in MS-DOS, but it's been literally 7-10 years since I wrote a piece of code. Currently I mainly program for web, so that's PHP and ColdFusion, but I wnat something that'll be portable and something I can share with others easily, which is why JS might be best.
Thanks for any advice or maybe pointers to do some Hello World apps with and Sync.
http://synchro.net/docs/js.html
There are ton of examples in exec/*.js.
print("Hello, world\r\n");
digital man
Okay, I'm no JS programmer, but I'd love to learn. One project I think might be fun to write plus useful is something that'll take an RSS Feed and plug the downloaded media files into a file area then use details from the XML file to create details. Problem is I have no idea where to start!
For those seasoned in JS and how it works with Sync, would this be a decent first project to attempt? I used to program in C++ many years ago in MS-DOS, but it's been literally 7-10 years since I wrote a piece of code. Currently I mainly program for web, so that's PHP and ColdFusion, but I
wnat something that'll be portable and something I can share with others easily, which is why JS might be best.
Thanks for any advice or maybe pointers to do some Hello World apps with JS and Sync.
Sam Alexander wrote:
Okay, I'm no JS programmer, but I'd love to learn. One project I think might be fun to write plus useful is something that'll take an RSS Feed an plug the downloaded media files into a file area then use details from the XML file to create details. Problem is I have no idea where to start!
There's a few JS based implimentations of the W3C-DOM for XML, however,
they load pretty slowly, and take up a bit of memory for the object model.
see <http://xmljs.sourceforge.net/>
For those seasoned in JS and how it works with Sync, would this be a decen first project to attempt? I used to program in C++ many years ago in MS-DOS, but it's been literally 7-10 years since I wrote a piece of code. Currently I mainly program for web, so that's PHP and ColdFusion, but I wnat something that'll be portable and something I can share with others easily, which is why JS might be best.
Thanks for any advice or maybe pointers to do some Hello World apps with J and Sync.
If you are going to play with message areas, nntp*.js, and news*.js are where I would start... There are a few other examples that come with JS..
Honestly, read "The JavaScript Bible" 5th edition, it's a decent read, and only really need about the first half, the second is very browser specific.. the first half can apply pretty aptly to the bbs... there are a few links on the website that may help as well, in addition to looking at the samples...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 15 (0 / 15) |
Uptime: | 41:19:42 |
Calls: | 500,899 |
Calls today: | 2 |
Files: | 109,370 |
D/L today: |
4,664 files (476M bytes) |
Messages: | 304,218 |