Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
Over the past three years or so, I have accumulated a set of backups of my text (SMS) and MMS conversations by using Carbonite's SMS Backup and Restore app for Android. Recently, I wanted to be able to actually look back on my conversations in a more organized form, so I built a simple Python tool called smsxml2html. It takes one or more XML backups from SMS Backup and Restore, and turns them into a series of HTML files, one per contact with whom you texted. It not only adds all of your SMS messages in chronological order, including a table of contents separated by month; it also parses your MMS messages and turns the embedded images back into discrete image files. Feel free to give it a try and PR the repo if you have any improvements! And be sure to back up your text messages.

Download/Repository
SMSXML2HTML: SMS Backup and Restore XML to Conversations

Nice Genesis bruh. (And also, nice project!)
allynfolksjr wrote:
Nice Genesis bruh. (And also, nice project!)
Thanks, bruh. And thank you!

Code:
class SMSMsg:
   def __init__(self, timestamp, text, type, extra):
      self.timestamp = timestamp
      self.text = text
      self.type = type
      self.extra = extra

More like

Code:
from collections import namedtuple

SMSMsg = namedtuple('SMSMsg', ['timestamp', 'text', 'type', 'extra'])
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement