Author Topic: Jabber: get full history from Hangouts  (Read 3207 times)

0 Members and 1 Guest are viewing this topic.

Offline calabarTopic starter

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 1
Jabber: get full history from Hangouts
« on: 09 07 2015, 09:11:01 »
In the past I used Jabber to communicate with GTalk contacts.
When Google moved to Hangouts, I continued to use Jabber but I lost offline messages.
So my Histories are full of "holes" and often not understandable.

The question is: is it possible to periodically import or synchronize my Miranda history database with hangouts one, so I can store complete and intelligible conversations?


PS: is Jabber the right plugin to communicate with Hangouts contacts, ot maybe I should switch to something other?
 

Offline calabarTopic starter

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 1
Re: Jabber: get full history from Hangouts
« Reply #1 on: 12 07 2015, 22:08:51 »
No one has any idea?

What do you use to communicate with Hangouts contacts?
 

Offline watcher

  • Miranda NG support
  • Administrator
  • *****
  • Posts: 1905
  • Country: il
  • Karma: 157
  • I am watching YOU!
  • Version Info
Re: Jabber: get full history from Hangouts
« Reply #2 on: 13 07 2015, 15:39:48 »
What do you use to communicate with Hangouts contacts?

Gtalk

The question is: is it possible to periodically import or synchronize my Miranda history database with hangouts one, so I can store complete and intelligible conversations?
 

There is no way yet to do that.


PS: is Jabber the right plugin to communicate with Hangouts contacts, ot maybe I should switch to something other?

Jabber plugin is the only way for now.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline calabarTopic starter

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 1
Re: Jabber: get full history from Hangouts
« Reply #3 on: 22 07 2015, 15:11:37 »
Thanks for the answer.
Is there a light for the future? Maybe another protocol to replace Jabber or some way provided by google to connect to their history database?
 

Offline watcher

  • Miranda NG support
  • Administrator
  • *****
  • Posts: 1905
  • Country: il
  • Karma: 157
  • I am watching YOU!
  • Version Info
Re: Jabber: get full history from Hangouts
« Reply #4 on: 22 07 2015, 18:39:48 »
Is there a light for the future? Maybe another protocol to replace Jabber or some way provided by google to connect to their history database?

I think Google will eventually  close Gtalk an we will have to create Hangouts plugin (hope it would be possible).
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline White-Tiger

  • Developer
  • *****
  • Posts: 184
  • Country: 00
  • Karma: 10
  • SendSS maintainer
Re: Jabber: get full history from Hangouts
« Reply #5 on: 22 07 2015, 20:32:41 »
Hope Google changes his mind and starts to support XMPP once again^^
Sure XMPP might not be the protocol it should've been... but to let it down isn't good either.. not if you're not providing a better alternative.. (and IIRC, Google tried to build VoIP into XMPP... but with no real success.)

I mean.. XMPP had transports, so a new protocol could easily offer their own transport for XMPP and be compatible with it.. yet still make things better.. I wish Google had chosen this way.. It likely would have in its earlier days.. but it doesn't seem to follow his own credo much these days. There might be a "good" reason why they don't want to support it anymore.. such as that no IM implemented VoIP and this prevented GTalk users from using it with people who didn't use it... thus GTalk maybe got flawed by ignorant beings and died eventually because of that...

 

Offline calabarTopic starter

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 1
Re: Jabber: get full history from Hangouts
« Reply #6 on: 29 07 2015, 09:10:17 »
Understood.
Google is to "blame" because they choose a proprietary approach instead then an open one.
I can undestand that XMPP was not adequate for their aims (but support offline messages or provide a fast way to syncronize history would be not so difficult... clearly they want people leave XMPP so they can dismiss the support without too noise), but why they decided to maintain the protocol closed?
 

Offline AnrDaemon

  • Full Member
  • ***
  • Posts: 198
  • Country: 00
  • Karma: 3
Re: Jabber: get full history from Hangouts
« Reply #7 on: 29 07 2015, 10:46:14 »
It is not enough to implement something. You should make the implementation accessible and transparent for it to reach wider audience.
But it requires effort or time.
HTML/HTTP was developed many years ago and it only survived because it was transparent, accessible and eventually it just outlived its concurents.
XMPP isn't as old and honestly it lacking community support. In both standardisation and implementation.
The most common argument against it is that "it doesn't support feature X". And to the "then make an extension proposal and reference implementation", they say "too much effort, I could just make my own messenger in less than half the time."
 

Offline White-Tiger

  • Developer
  • *****
  • Posts: 184
  • Country: 00
  • Karma: 10
  • SendSS maintainer
Re: Jabber: get full history from Hangouts
« Reply #8 on: 29 07 2015, 15:20:34 »
Sorry.. have to correct my previous post... some IM's implemented Google's VoIP after some time..
Google released it as libjingle shortly after launch near end of 2005, yet XMPP only accepted it as a "draft" near end of 2009. That is 4 years later... and now almost 5 years later doesn't seem to be much further...

Miranda IM had experimental support for it with JGTalk: http://forums.miranda-im.org/showthread.php?13768-Jingle-Jabber-plugin-%28JGTalk-Protocol-JGmail-libjingle-mod%29

 

Offline AnrDaemon

  • Full Member
  • ***
  • Posts: 198
  • Country: 00
  • Karma: 3
Re: Jabber: get full history from Hangouts
« Reply #9 on: 29 07 2015, 20:26:10 »
If you read the history of the article between the lines, you would notice the amount of work been done to bring it to the current state.
If my fingers tell me right, the final specification is split between 2 or 3 separate drafts.
 

Offline aekotra

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Jabber: get full history from Hangouts
« Reply #10 on: 29 08 2015, 16:14:15 »
It's  quite a bad situation that offline messages in Hangouts is not supported.  If you use Miranda as your only Hangouts client (as I do), a contact can send you message while you're offline and you will never know anything about it.  Perhaps the GTalkExt developers can remedy this?
 

Offline calabarTopic starter

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 1
Re: Jabber: get full history from Hangouts
« Reply #11 on: 25 02 2016, 10:24:33 »
I resume this quite old topic because, in the meantime, I came across the Google Takeout service, that allows to download hangouts histories.
The download is a zip archive containing an html and a json files. The json is very verbose, but I think that it would be easy for developers to create a parser that allows to import the histories into Miranda database. Is there any chance for that?

There is even an online php parser (code is available here) that allows to read and download the histories in various formats.

An "hangouts import" plugin, that allows to import the histories retrieved from Google Takeout will solve my problem to have almost unreadable histories for my hangouts conversations.
 

Offline Robyer

  • Moderator
  • *****
  • Posts: 1008
  • Country: cz
  • Karma: 57
    • Robyer.cz website
  • Jabber ID
  • Version Info
Re:Jabber: get full history from Hangouts
« Reply #12 on: 25 02 2016, 21:08:52 »
Maybe you could write own rules for ImportTXT plugin? (Just an idea)
I'm developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. ~ If you like my work, you can DONATE to me via Paypal.
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 507
  • Country: 00
  • Karma: 12
Re: Jabber: get full history from Hangouts
« Reply #13 on: 25 02 2016, 23:04:15 »
Maybe you could write own rules for ImportTXT plugin? (Just an idea)

If you get some kind of text-based output, I guarantee importTXT can be used for what you need. I used it to great success with skype history export from old skype (v4 / v5) to import huge histories (~400k messages) without issues. Making your own rules should be simple too, just look at some of the existing presets and "hack" it :p
 

Offline Robyer

  • Moderator
  • *****
  • Posts: 1008
  • Country: cz
  • Karma: 57
    • Robyer.cz website
  • Jabber ID
  • Version Info
Re: Jabber: get full history from Hangouts
« Reply #14 on: 27 02 2016, 07:20:47 »
Vulpix, btw if you have some definitions that aren't in ImportTXT's repository, can you share it with us? :)
I'm developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. ~ If you like my work, you can DONATE to me via Paypal.