rllmukforum.com: mobile.strawp.net debugging - rllmukforum.com

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

mobile.strawp.net debugging So I'm not spamming the other thread with crap

#1 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 21 June 2006 - 03:16 PM

This weekend I created a script which can recieve MMS messages and cross-post them onto any thread in this forum. Due to quirks with how various mobile networks think they should handle MMS messages, I'm going through a process of learning and debugging to make it work in as many ways as possible.

To Register

Send an MMS to register@mobile.strawp.net with your forum user ID in the body. Your user ID is the number after "showuser=" in the URL of the page when you're viewing your profile. e.g. mine is 504. Click on my name there on the left and you can see that number at the end of the URL.

Once you've sent the MMS, you will get a PM from "Ansel Bleedin' Adams" with a URL that you need to visit to activate your account. Once you've done that, another PM will tell you about how to post messages to threads.

Known working networks

These are networks whose MMS format my thing can handle.
  • Orange
  • O2
  • Three (seems to be working OK now, time and more messages will tell)
  • T-Mobile
  • Vodafone
Networks that we haven't tested yet (sign up!)
  • Virgin
Networks which definitely don't work (yet)
None that I know of yet...

If you're not in these lists I'd appreciate an MMS from you just to see what format it arrives in.

If/when this thing is totally working I will delete this thread.

Overseas people:

It shouldn't matter that you're not in the UK. In fact I'd like someone on a non-UK network to try this out if possible.
0

#2 User is online   redbloodcell 

  • Group: Supporters
  • Posts: 11421
  • Joined: 24-May 03

Posted 21 June 2006 - 03:25 PM

Damn 3, they use the O2 network for some stuff so I was hopeful.

If I sent it to your inbox does that mean you saw my pic?
0

#3 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 21 June 2006 - 03:29 PM

If you want to post into this thread via MMS, the address is debug@mobile.strawp.net

View Postredbloodcell, on Jun 21 2006, 04:25 PM, said:

Damn 3, they use the O2 network for some stuff so I was hopeful.


Yeah, but they wrap the tiny little 5 character text body in about 200 lines of HTML and then leave a flat text part which says "Use a graphic mail client, LOL".

View Postredbloodcell, on Jun 21 2006, 04:25 PM, said:

If I sent it to your inbox does that mean you saw my pic?

It's OK, I've seen you in a state of undress before :)
0

#4 User is online   Orchid 

  • Group: Supporters
  • Posts: 4454
  • Joined: 30-May 05

Posted 21 June 2006 - 07:26 PM

Ok so where is the user ID?

Edit: Found it, for anyone who can't see it. Highlight your name in the "members reading this topic" box and you'll get the number.
0

#5 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 21 June 2006 - 10:40 PM

I'll just amend that to make it a bit more clear...
0

#6 User is offline   footle 

  • Group: Supporters
  • Posts: 11647
  • Joined: 16-May 03

Posted 22 June 2006 - 10:37 AM

You maybe want to add the bit about the PM...
0

#7 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 22 June 2006 - 11:55 AM

View Postfootle, on Jun 22 2006, 11:37 AM, said:

You maybe want to add the bit about the PM...

Ah yeah, good idea :)
0

#8 User is offline   Calum 

  • Group: Members
  • Posts: 4183
  • Joined: 20-March 03

Posted 22 June 2006 - 08:09 PM

Right, just sent one MMS (to register) from my phone (V3x on the 3 network), didn't work last time (Tuesday), so we shall see...

EDIT!

Got the PM message, so it seems to have worked... Sending a test photo now
0

#9 User is offline   Calum 

  • Group: Members
  • Posts: 4183
  • Joined: 20-March 03

Posted 22 June 2006 - 08:27 PM

It worked! But came through with a load of other pictures as well
0

#10 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 22 June 2006 - 10:57 PM

Yeah, Three attaches a shite load of other images to messages and wraps the text in massive amounts of HTML. Maybe I'll just have to have Three users only take the first image out of each message. I've built it so that you can add as many images to a message as you like otherwise.

It didn't work before because I didn't catch your message. The script didn't understand it and threw it out. Since then I've had one from redbloodcell who's also on Three and worked something out for it.

I sent a registration from one of my mates phones which is on T-Mobile. That doesn't even encode in flat text. I think I'm going to spend some time tomorrow working how the feck to read that puppy in.
0

#11 User is offline   Calum 

  • Group: Members
  • Posts: 4183
  • Joined: 20-March 03

Posted 22 June 2006 - 11:49 PM

Out of curiosity, would you be able to make the photos automatically resize for the forum (so input a set height and width for them)?
0

#12 User is offline   onlyalive 

  • Group: Members
  • Posts: 1894
  • Joined: 06-November 03

Posted 22 June 2006 - 11:57 PM

That should be simple enough, better to use a percentage size rather than specific dimensions though, other wise images could be squashed depending on orientation.
0

#13 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 23 June 2006 - 08:33 AM

I was probably going to do that, yes - you Three users with your megapixel cameras!

What's a good maximum width? When I post photos off my site I tend to have them 800px across max.

I've set the thing for the moment so that only one image per MMS can be saved off. This does rely on the first image in the message being your photo though. I hope to find a better way of defining what is a photo and what isn't.

Edit: No, that was a silly idea. I'll work something else out.
0

#14 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 23 June 2006 - 09:34 AM

Resizing is working now!
0

#15 User is offline   Goldbricker 

  • Group: Members
  • Posts: 2459
  • Joined: 21-August 04

Posted 23 June 2006 - 11:38 AM

Does Vodafone work I can't see any mention of it?

EDIT: Well I've given registering a go anyway so we'll see what happens eh?
0

#16 User is offline   Kryptonian 

  • Group: Moderators
  • Posts: 22975
  • Joined: 03-April 03

Posted 23 June 2006 - 12:09 PM

My W800 resizes images automatically if i'm putting it in a MMS ;)
0

#17 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 23 June 2006 - 12:39 PM

View PostKryptonian, on Jun 23 2006, 01:09 PM, said:

My W800 resizes images automatically if i'm putting it in a MMS ;)

Does it send out a much smaller image than you'd taken?

Vodaphone: I'll have a look. Doesn't look like it's recognised your message, goldbricker.

Edit: Looks like Vodafone does the exact same thing as Three does. I'm going to take your text and register you now.
0

#18 User is offline   Calum 

  • Group: Members
  • Posts: 4183
  • Joined: 20-March 03

Posted 23 June 2006 - 01:07 PM

It should be noted, in case any of you are readying weapons, that I didn't post the massive amount of photos above ;)
0

#19 User is offline   Strawp 

  • Group: Supporters
  • Posts: 19483
  • Joined: 31-March 03

Posted 23 June 2006 - 01:35 PM

View PostCalum, on Jun 23 2006, 02:07 PM, said:

It should be noted, in case any of you are readying weapons, that I didn't post the massive amount of photos above :(

No, that was me ;)

Currently I'm dumping all recieved messages to text so that I can catch ones that don't get parsed properly yet and so I can go back put them through the script again when I've made changes.

That lot was me making the script ignore all the buttons and logos that get added to Three messages and then doing the resize ;)
0

#20 User is offline   Kryptonian 

  • Group: Moderators
  • Posts: 22975
  • Joined: 03-April 03

Posted 23 June 2006 - 01:39 PM

View PostStrawp, on Jun 23 2006, 01:39 PM, said:

Does it send out a much smaller image than you'd taken?

It does yes.
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users