Namespace for MMS Parser class and a request for help
Namespace for MMS Parser class and a request for help
am 14.08.2005 05:43:53 von roblee_ at hotmail dot com
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
Re: Namespace for MMS Parser class and a request for help
am 15.08.2005 01:50:17 von roblee_ at hotmail dot com
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/LicenseAgr eement.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
Re: Namespace for MMS Parser class and a request for help
am 15.08.2005 22:24:29 von Slaven Rezic
"roblee_ at hotmail dot com" writes:
> 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/LicenseAgr eement.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 rezic 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::PathEntr y
Re: Namespace for MMS Parser class and a request for help
am 16.08.2005 00:17:55 von roblee_ at hotmail dot com
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