WAP access to rt?

Anybody written any WAP / cell phone interfaces to RT? I’ve been considering
doing something for a year and never have, I don’t quite have the need for
it like I did a year ago but still may start on something if there is
interest.

Steve Radich
BitShop, Inc. - Web Hosting / Server Colocation - http://www.bitshop.com

“Steve” == Steve Radich stever@bitshop.com writes:

Steve> Anybody written any WAP / cell phone interfaces to RT? I've
Steve> been considering doing something for a year and never have,
Steve> I don't quite have the need for it like I did a year ago
Steve> but still may start on something if there is interest.

    Funny you mention this.  I've just gotten a web capable phone

(Motorola i1000+) and started thinking of doing something similar.
The only initial problem I saw with the initial mockup page I did was
that the main Mason autohandler appends HTML tags to
the end. Other than that, Mason generates WML just as happily as it
does HTML.

    Here's the test page I did:
<?xml version="1.0"?>

% if( $no_cache ) {

% } else { % }

<%perl> my @ids = map { $_->[0] } sort { $a->[1] cmp $b->[1] } map { [ $_, $stats{$_}->{"_name"} ] } keys %stats; foreach( @ids ) { "><% $stats{$_}->{"_name"} %>
% }

% foreach( @ids ) {
% my $name = $stats{$}->{name};


Queue: <% $name %>

New: <% $stats{$
}->{new} %>

Open: <% $stats{$
}->{open} %>

Stalled: <% $stats{$_}->{stalled} %>



% }

<%init> my %stats;

my $Queues = RT::Queues->new( $session{ ‘CurrentUser’ } );
$Queues->UnLimit();
my $Tickets = RT::Tickets->new( $session{ ‘CurrentUser’ } );
while( my $queue = $Queues->Next ) {
$stats{$queue->id}->{_name} = $queue->Name;

$Tickets->ClearRestrictions;
$Tickets->LimitStatus( VALUE => “open” );
$Tickets->LimitQueue( VALUE => $queue->id, OPERATOR => “=” );
$stats{$queue->id}->{open} = $Tickets->Count( );

$Tickets->ClearRestrictions;
$Tickets->LimitStatus( VALUE => “new” );
$Tickets->LimitQueue( VALUE => $queue->id, OPERATOR => “=” );
$stats{$queue->id}->{new} = $Tickets->Count( );

$Tickets->ClearRestrictions;
$Tickets->LimitStatus( VALUE => “stalled” );
$Tickets->LimitQueue( VALUE => $queue->id, OPERATOR => “=” );
$stats{$queue->id}->{stalled} = $Tickets->Count( );
}
</%init>
<%args>
$no_cache => 1
</%args>

Fletch | "If you find my answers frightening, `‘/|
fletch@phydeaux.org | Vincent, you should cease askin’ \ o.O’
770 933-0600 x211(w) | scary questions." – Jules =(
_)=
| U

“Steve” == Steve Radich stever@bitshop.com writes:

Steve> Anybody written any WAP / cell phone interfaces to RT? I've
Steve> been considering doing something for a year and never have,
Steve> I don't quite have the need for it like I did a year ago
Steve> but still may start on something if there is interest.

    Funny you mention this.  I've just gotten a web capable phone

(Motorola i1000+) and started thinking of doing something similar.
The only initial problem I saw with the initial mockup page I did was
that the main Mason autohandler appends HTML tags to
the end.

$m->abort() in a, say <& WAPFooter &> would take care of that for you

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.