Closed

Need help sorting messages from Telegram out of chronological order

I exported a very long Telegram group chat and I'd like to sort them in a nested format by message/reply. In its normal state, its chronologically sorted, so if I reply to a message first posted 3 weeks ago, my reply will be no where near it. I want my reply to appear under the message I am replying to. In excel.

I kind of found a way by stripping everything up to the Message # in the XML, but I ran into some issues.

I'm sure one of you could figure it out in no time. Here's a snippet:

Message 1:

<div class="message default clearfix" id="message4217">

<div class="pull_left userpic_wrap">

<div class="userpic userpic1" style="width: 42px; height: 42px">

<div class="initials" style="line-height: 42px">

</div>

</div>

</div>

<div class="body">

<div class="pull_right date details" title="29.03.2016 15:37:04">

15:37

</div>

<div class="from_name">

Deleted Account

</div>

<div class="text">

Does anyone have an idea? </div>

</div>

</div>

Here's a reply (keep in mind this can occur dozens of messages later, and I need them to be resorted into order - the common link will be the "in reply to XX" tag - you can use this to sort):

<div class="reply_to details">

In reply to <a href="#go_to_message4215" onclick="return GoToMessage(4217)">this message</a>

</div>

<div class="text">

I am filled with ideas

</div>

</div>

</div>

Skills: Excel

See more: mp3 files need help transcribing, need help adding google adsense site, freelance need help wsdl file, open source projects need help, need help text website, need help building resume, need help fixing cre loaded, coldfusion website need help, need help finishing work, need help design hair salon, need help mcafee secure vulnerabilities, need help cloning website, zen cart need help, need help designing myspace web, need help install creloaded, need help text correction, need a caricature or cartoon in order to be print (30 x 40 cm) a funny face on a body please not just a face sandrine is a smili, need a caricature or cartoon in order to be print 30 x 40 cm a funny face on a body please not just a face sandrine is a smiling, need help writing flower card messages

About the Employer:
( 47 reviews ) Newark, United States

Project ID: #20329338

4 freelancers are bidding on average $22 for this job

villiadinho

Am an ophant boy who has struggled alot in this life so I will do everything possible to make money to have a better standard of living .I promise you of good conduct and I promise you the best Less

$25 USD in 1 day
(0 Reviews)
0.0
$15 USD in 1 day
(0 Reviews)
0.0
larajanepedarse

Hello! I'm Lara I am a very hardworking and detail-oriented person and I'm very confident that I can work with my future clients well.

$25 USD in 1 day
(0 Reviews)
0.0
parikhpatel

I give my best

$22 USD in 5 days
(0 Reviews)
0.0