Due to enormous amounts of spam, the forum has been set to read-only mode.



Reply to topic  [ 8 posts ] 
Tricky XSL template for a newbie like me 
Author Message
Post Tricky XSL template for a newbie like me

Hi guys,

I'm starting to think about this project:

"Developing a serie of templates to display the content of an MP3 CD (entered in my CATraxx DB) as a set of icons representing the albums on which you can click to access songs, lyrics, ... or just play them"

I'm storing my MP3 exclusively on CD and then cataloguing every CD in CATraxx using a Dxxxx identifier for the CD and Dxxxx-xx for the album reference. I'd like very much to play an inserted CD from CATraxx and wondered if, by chance, the newly implemented XSL templates would do the trick.

The idea is:

I insert the CD, it shows a page containing the different albums in icons and then I can start dwelving into details and play albums/tracks.

I know it's a bit exaggerated for a first project but I like challenges :twisted:

Any idea or suggestion is welcome.
If someone is using CATraxx like me, I'd be interested to work together with someone else.

Thanks in advance for every info you have.

And BTW, CATraxx rulez! And it's really nice now with the XSL implementation, thanks Fredrik and the CATraxx team.

CU,

Zep


Mon Jan 06, 2003 4:31 pm

Joined: Mon Jan 06, 2003 10:35 pm
Posts: 4
Location: Belgium
Post I'm now registered so you can contact me

Thanks


Mon Jan 06, 2003 10:44 pm
Profile ICQ YIM

Joined: Mon Jan 06, 2003 10:35 pm
Posts: 4
Location: Belgium
Post Not much interest, though this might interest you. Nevermind

Hi all,

I have been looking at this forum for some days now and as I got no reply of any sort, I thought of starting something already on my own without using the XSL templates.

For those interested, I have developed the concept highlighted in mt first message:

1) You insert a CD (MP3 CD) that is registered in CATraxx
2) it loads a screen with the albums (cover) on the CD
3) you can see the tracks by clicking on the cover
4) you can manage your playlist fully from the web page (play, stop, next, ...)
5) you can add individually or by album to the playlist

All of this works fine with Winamp3 and CATraxx 5 + some web pages

I wish I could integrate this directly in CATraxx but I had no experience of XSL templates and had no help.

Anyway, this might be helpful to some of you.
If you want it, just tell me and I'll mail it to you.



Cheers,

[/img]


Mon Jan 13, 2003 10:32 am
Profile ICQ YIM

Joined: Tue Apr 30, 2002 11:53 am
Posts: 1919
Location: Carrù, Cuneo, ITALY
Post 

Sorry Zep, I really missed your previous messages ! :shock:
I don't know what happened but I simply did not notice ( or forgot ?!?! ) them...sorry again.

What you report sounds interesting...
Well, I could not help anyway since I'm still learning XML/XSL, but I suppose that some users are interested in what you are developing and I hope that they can help you someway. Sorry in advance if I can't...
I'm also trying to understand a little more about how managing MP3's so it could help me too.
If you can mail me your work, I will be more than happy to test it and to report my impressions about.
My mail-address is at the bottom of this message.

Thank you very much in advance & have a great week ! :wink:

_________________
The Hole Studio ® Mario Del Buono | e-mail: please Press the email button below.


Mon Jan 13, 2003 10:59 am
Profile ICQ YIM

Joined: Mon Jan 06, 2003 10:35 pm
Posts: 4
Location: Belgium
Post No problem

Hi,

Thanks for your reply. No problem, there are a lot of messages posted, so it's normal you can't reply to all.
What concerned me is that I felt nobody was interested in doing the same.
Seems everybody's got everything on HDD and not on CD.
There is though one single good reason to do that. HDD crash and you have nothing left. Think of it, guys!

Anyway, here is how it works. It's damn minimal coz I worked only 4 or 5 hours on it. But it works. If anyone shows interest, I'll adapt it to make it work without too much tweakin'.

For the moment, you need the following.

CATraxx in which you have the CD's identified by a unique ID like this:

CD# is for instance D0015 (format is important for the moment)
album on CD is registered with reference no D0015-xx while xx is the no of the album

My DB of CATraxx is configured as ODBC source called 'CATraxx'
My CD's look like this:

volume name of CD is the same as the ID in CATraxx Dxxxxx

\
\Album1
\song1.mp3
\song2.mp3
....
\Album2
...

ok, when you load the page default2.htm (no need of server component, all is VBScript coded), it looks for the volume name of the CD, goes to the CATraxx DB and retrieves album info including covers.

When you click on the cover, it retrieves track info from the DB

On the right side, you have a playlist web page to see what's playing in Winamp and control it. I'm using here WAWI from Phil (www.flippet.org), it's a small Winamp2 component that acts a HTTP server to which you can send commands. I actually control everything in Winamp using this component.

It's excellent because it's unloaded whenever WInamp is unloaded.
It's fully configurable and secure.

Plus, I'm adding new features to play CD's and local music library at the same time.

If you want to try it out, you'll probably have to do some things though to adapt it (I can help too):

1) register a ODBC source to your DB and call this source "CATraxx"
2) modify code so that it doesn't look to the volume name of the CD but displays a message box to ask you for the id of the CD you inserted
3) modify code to fit your own CATraxx CD organisation
4)also, I added a few queries and tables inside my CATraxx DB (5), they are standard so I can pass them to you.

SO, you see, it's not yet ready for distribution but I have never distributed anything before, so any hints are welcome.

Do you think this can be useful?

Zep.

PS: BTW, I'd like to send a pic of it but how do I do that?


Mon Jan 13, 2003 11:42 am
Profile ICQ YIM

Joined: Tue Apr 30, 2002 11:53 am
Posts: 1919
Location: Carrù, Cuneo, ITALY
Post 

Ciao Zep :wink:
Zep2000 wrote:
Thanks for your reply. No problem, there are a lot of messages posted, so it's normal you can't reply to all.
....(omissis)...
Do you think this can be useful?

I personally think that it's really interesting but just to avoid confusion I have to tell you that I am a simple user, a very interested simple user.
I tell you this because I just noticed that my previous message could cause misunderstandings and that you could suppose I was the developer...
Sorry in advance if that happened ! Fredrik is the only person who can tell you if it is possible to implement your suggestion in CATraxx.
I try to answer/help everybody if I can and I realize that it can be misunderstood...sorry again. I will try to change my approach and avoid it someway from now on.
Anyway...
I will try to follow the steps you reported but I guess I will need some help...
All sounds very interesting but it's a new experience for me and I don't know if I'll be able to accomplish it...we'll see...
I will test ASAP and try to not bother you if not really necessary.
Zep2000 wrote:
4)also, I added a few queries and tables inside my CATraxx DB (5), they are standard so I can pass them to you.

I would really appreciate it, thanks ! Everything you can mail me would help much to understand it better.
Zep2000 wrote:
PS: BTW, I'd like to send a pic of it but how do I do that?

I know that other users publish their pics on their own Web page and sometimes on some Web providers' page that gives space for free...
I don't actually have my own page but I'm waiting for a reply by my provider to have istructions about doing it. If I have news I will report here.
In this Forum you can add a link to images published elsewhere using the "URL" button available when composing the message itself, like users do when posting links to related threads or Sites...
It will appear something like: [URL ]http//www.YOURWEBSITE.xxx/YOURWEBPAGE.yyy/YOURIMAGE.zzz[/URL ]

Have a great week & thanks a lot for sharing your information ! :wink:

_________________
The Hole Studio ® Mario Del Buono | e-mail: please Press the email button below.


Mon Jan 13, 2003 3:10 pm
Profile ICQ YIM
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: No problem

Zep2000 wrote:
SO, you see, it's not yet ready for distribution but I have never distributed anything before, so any hints are welcome.

Do you think this can be useful?

Zep.

PS: BTW, I'd like to send a pic of it but how do I do that?

You can't uploaded a picture to this forum, but you can link to a picture on another website. If you can mail me the screenshot, I can uploaded it to fnprg.com and add a link to it.

And if you want to share the templates with other users, zip up the files (and include readme file with instructions) and mail it to me, and can upload it to fnprg.com so others can download it.

_________________
Fredrik Nordbakke
www.fnprg.com


Mon Jan 13, 2003 3:38 pm
Profile WWW
User avatar

Joined: Wed Dec 06, 2000 12:37 pm
Posts: 173
Location: Australia (WA) - finally v8.31.03
Post 

Zep2000 If your having troubles then visit this Thread >> http://www.fnprg.com/forum/viewtopic.php?t=1933 <<

that will give you some Sites to LEARN about XML and XSL ways

have a great day


Wed Jan 22, 2003 5:11 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.