aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 3 [4]

Author Topic: AJAX skin with xslt stylesheet  (Read 61415 times)

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: AJAX skin with xslt stylesheet
« Reply #45 on: April 01, 2010, 09:38:47 PM »

New version 0.1  :o
  • favicon yay
  • created a search page

Hint: click on a filename to download it, green files are in your share or you just clicked them, files that are downloading already are filtered out.



notes for the amuleweb devs:
  • amule_do_download_cmd() has no effect when applying it immediately after adding a download with amule_do_search_download_cmd().
  • break; breaks one level of loops too much. Also when using break n;
Logged

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: AJAX skin with xslt stylesheet
« Reply #46 on: April 06, 2010, 02:03:41 PM »

New version 0.2
  • Works in Internet Explorer

Had to jump through some hoops to get IE to parse strings into an XML tree :)
No rounded borders however, since IE doesn't support them.

note for the amuleweb devs:
  • When a file in the download queue has downloaded at least 1 complete part it is added to the shares. $file->present is set to 1. (see code snippet) This is not reset to 0 when the file is removed (canceled/deleted) from the download queue. Or maybe I misunderstood the meaning of $file->present?

Code: [Select]
$searchresult = amule_load_vars("searchresult");
foreach ($searchresult as $file) {
echo $file->present;
}
« Last Edit: April 06, 2010, 02:35:00 PM by woutermense »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: AJAX skin with xslt stylesheet
« Reply #47 on: April 06, 2010, 08:59:14 PM »

Clicking works fine now. I tried IE, FF/Linux and FF/Windows.

I'm not sure we have an active amuleweb dev at the moment. I know only the EC part, not the PHP part.
Patches are welcome.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Riviz

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: AJAX skin with xslt stylesheet
« Reply #48 on: April 14, 2010, 03:07:57 PM »

That's great! I was waiting for someone able to make an ajax skin real for ages, thankyou very very much! Best wishes for your skin, i'll try it asap  ;)
Logged

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: AJAX skin with xslt stylesheet
« Reply #49 on: July 13, 2010, 09:57:44 PM »

udtuyt
Patches are welcome.  :)

So I fixed the behaviour of 'break' and 'continue' while I was at it, that was actually quite a lot of searching and puzzling before I could get started.

Before:
- break and break n would end all loops.
- continue too (probably, untested)

Solution:
- update curr_exec_result after breaking or continuing a loop or switch
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: AJAX skin with xslt stylesheet
« Reply #50 on: July 14, 2010, 06:32:35 PM »

Committed in rev. 10250. You've just become our new amuleweb dev  :P
« Last Edit: July 14, 2010, 06:34:46 PM by GonoszTopi »
Logged
concordia cum veritate

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: AJAX skin with xslt stylesheet
« Reply #51 on: July 15, 2010, 02:28:14 AM »

I noticed an entry for aMuleWeb in the Visual Studio, and it does seem to compile and run. Does it actually work? Tried to run it, but failed on not having a template. Where should I put that?
Logged

lfroen

  • Guest
Re: AJAX skin with xslt stylesheet
« Reply #52 on: July 15, 2010, 07:31:23 AM »

Committed in rev. 10250. You've just become our new amuleweb dev  :P
Nice to see someone fixing things in amuleweb while I don't have time to. BTW, you can run php part standalone, if you want to debug interpreter part, without actual amule data.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: AJAX skin with xslt stylesheet
« Reply #53 on: July 17, 2010, 03:56:38 PM »

Does it actually work? Tried to run it, but failed on not having a template. Where should I put that?
Should work. If you run it with the -v (--verbose) switch, it'll show you debug messages, for instance where it tries to find the template.
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: AJAX skin with xslt stylesheet
« Reply #54 on: July 18, 2010, 02:03:03 PM »

I noticed an entry for aMuleWeb in the Visual Studio, and it does seem to compile and run. Does it actually work?
Only if you compile it with wxWidgets SVN. It won't work at all with 2.8. Just like amuled. It's only in the 2.8 project for compilation tests.
Setting it up is a bitch, but that's another story...
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

EdwardErors

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
AJAX skin with xslt stylesheet
« Reply #55 on: March 24, 2019, 03:11:20 AM »

hopi, I like this skin very much, its my favourite too. Very clear and compact

Cheers  ,

Mauri.
Pages: 1 2 3 [4]