soxoj / maigret

🕵️‍♂️ Collect a dossier on a person by username from thousands of sites
https://t.me/osint_maigret_bot
MIT License
10.23k stars 794 forks source link

Add support of XMind 2022 format #445

Open SephirothSG opened 2 years ago

SephirothSG commented 2 years ago

Checklist

Description

Info about Maigret version you are running and environment (--version, operation system, ISP provuder):

How to reproduce this bug (commandline options / conditions): generate xmind output

Maigret does not output a valid XMind file, attempting to open results in the below error

raw

Found a potentially related PR from 2021 #161

soxoj commented 2 years ago

Could you attach your report file, please?

SephirothSG commented 2 years ago

report_SephirothSG.zip

soxoj commented 2 years ago
xmind

I am able to open it with my XMind 8 Update 9 (R3.7.9.201912052356). What version of XMind do you use?

SephirothSG commented 2 years ago

Confirmed, file opens correctly in XMind 8, however fails to open in XMind 2022. Cheers for clarification that files are only valid for XMind 8 and below, up to you if you wish to keep this open and add as a milestone, as it seems XMind is trying to steer users toward XMind 2022 (Have to specifically search for Xmind 8 to find it in their KB)

soxoj commented 2 years ago

Thank you, I clarified Maigret docs in some places (#452) and changed the type of this issue to "enhancement" to add support for the new XMind format. I can't promise that I will do it soon but I will research it. 👍

SephirothSG commented 2 years ago

Found a fix for the issue, https://github.com/noemotionLi/xmind-2021-fix Seems the problem doesn't occur if the mindmap is created in XMind 8 and then opened in Xmind 2022(ZEN) The issue is related to a missing manifest xml file when the mindmap is created with the python package, this file exists when the mindmap is created in both xmind 8 and ZEN, conversely if you open a mindmap generated from maigret in 8, then save it again. This mindmap will open in ZEN (2022)

https://github.com/noemotionLi/xmind-2021-fix/blob/main/xmind-fix/xmind_fix.py translated readme attached