Click here to get back home

Namespace for MMS Parser class and a request for help

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Namespace for MMS Parser class and a request for help roblee_ at hotmail dot com 08-13-2005
Posted by roblee_ at hotmail dot com on August 13, 2005, 8:43 pm
Please log in for more thread options


Hi,

I have written a set of classes for MMS (or picture) message parsing
and wanted to check my namespace usage before uploading to CPAN.
Currently the list of classes comprises:

MMS::Message - A class representing an MMS parsed from an email
MMS::Message::Parsed - A class represnting an MMS that has had provider
information/spam/advertising removed
MMS::Parser - The main parsing class
MMS::ProviderParser::$SOMEPROVIDER$ - A static class containing the
decoding rules for a particular network provider (e.g. Vodafone UK
encode their messages with HTML)

I have a draft tutorial explaining their use at
http://www.robl.co.uk/redirects/articles/mmsparser/

Secondly, a request for help:

The number of providerparsers (that contain the rules for decoding the
mms email messages) written is limited and I'd like to ask anybody who
has an MMS enabled phone and can spare five minutes to send an MMS
message with a picture and/or video to mms (at) robl (dot) co (dot) uk
so I can write more providerparsers. I'll also make the message part
of a publicly available test resource (with phone numbers removed) - so
please make the attachments viewer friendly !

Thanks,

Rob Lee



Posted by roblee_ at hotmail dot com on August 14, 2005, 4:50 pm
Please log in for more thread options


Further thought on the namespace has yielded these suggestions:

MMS::MailMessage::Parsed - A class representing an MMS parsed from an
email
MMS::MailMessage::ProviderParsed - A class represnting an MMS that has
had provider information/spam/advertising removed
MMS::MailParser - The main parsing class
MMS::ProviderMailParser::$SOMEPROVIDER$ - A static class containing the
decoding rules for a particular network provider (e.g. Vodafone UK
encode their messages with HTML)

This leaves space for the creation of an MMS::Message class
implementing the binary spec found at
http://www.openmobilealliance.org/tech/affiliates/LicenseAgreement.asp?DocName=/wap/wap-209-mmsencapsulation-20020105-a.pdf
and also for creation of an MMS Server class.

Anybody have any thoughts/objections ?

Thanks,

Rob



Posted by Slaven Rezic on August 15, 2005, 10:24 pm
Please log in for more thread options



> Further thought on the namespace has yielded these suggestions:
>
> MMS::MailMessage::Parsed - A class representing an MMS parsed from an
> email
> MMS::MailMessage::ProviderParsed - A class represnting an MMS that has
> had provider information/spam/advertising removed
> MMS::MailParser - The main parsing class
> MMS::ProviderMailParser::$SOMEPROVIDER$ - A static class containing the
> decoding rules for a particular network provider (e.g. Vodafone UK
> encode their messages with HTML)
>
> This leaves space for the creation of an MMS::Message class
> implementing the binary spec found at
>
http://www.openmobilealliance.org/tech/affiliates/LicenseAgreement.asp?DocName=/wap/wap-209-mmsencapsulation-20020105-a.pdf
> and also for creation of an MMS Server class.
>
> Anybody have any thoughts/objections ?
>

Much better. I also wanted to point to the binary (or XML based) MMS
specifications.

What is the exact value of $SOMEPROVIDER? Is the country coded in,
e.g. Vodafone_UK?

Regards,
Slaven

--
Slaven Rezic - slaven <at> rezic <dot> de
Tired of using file selectors? Real programmers use the TAB key for
completion and not for jumping around. Try
        http://search.cpan.org/search?mode=module&query=Tk::PathEntry


Posted by roblee_ at hotmail dot com on August 15, 2005, 3:17 pm
Please log in for more thread options


Slaven Rezic wrote:
> What is the exact value of $SOMEPROVIDER? Is the country coded in,
> e.g. Vodafone_UK?
>

Examples would include :

UKVodafone
UKOrange
AUTelstra
USCingular

So Country Code + Provider

Can anybody see any issues with this scheme ?

Thanks,

Rob



Similar ThreadsPosted
Namespace request: SPC? March 2, 2007, 10:58 am
Help! SOAP::Lite: How to set the namespace prefix for the request? June 18, 2006, 2:54 pm
Class::DBI::Schema2Code V 1.01 July 29, 2004, 7:14 am
Class::Tree V 1.24 July 29, 2004, 7:15 am
[RFC] Class::DataStore May 13, 2005, 2:45 pm
RFC: new module Class::MakeIntrospecMethods October 18, 2004, 4:30 pm
Perl Class::Struct October 13, 2005, 3:18 am
A doubt in using Class::Struct October 5, 2006, 2:33 pm
[ANNOUNCE] New module Class::IntrospectionMethods December 6, 2004, 2:12 pm
Class::MethodMaker v2 syntax help requested February 7, 2005, 9:33 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap