You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2020/03/04 18:59:45 UTC

[allura:tickets] #7935 Forum importer for allura's own export format

Hi,

For the post with attachments, you don't necessarily need to reach the original URL.  Forum exports may or may not include a copy of the attachments, in this case they did, so you can use `"path": "discussion/5e32098a07ae3108f6c98c23/251636cb3f/be44/keepass.png",` to locate the attachment file within the zip file.

For the post with lots of replies, some of the comments should be nested replies.  If you look at `"slug": "0d1d/d421/f37d"` for example in the json, that represents it is a nested child of `"slug": "0d1d/d421"` which is a nested child of `"slug": "0d1d"`.  If you can preserve the original slugs when creating the comments then I think that slug format should automatically make them be shown as nested.

Otherwise looking pretty great!

-Dave



---

** [tickets:#7935] Forum importer for allura's own export format**

**Status:** open
**Milestone:** unreleased
**Labels:** import 
**Created:** Tue Jul 21, 2015 06:53 PM UTC by Dave Brondsema
**Last Updated:** Fri Feb 28, 2020 02:55 PM UTC
**Owner:** nobody





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #7935 Forum importer for allura's own export format

Posted by Fahri Korkmaz <fa...@gmail.com>.
Thanks for the suggestion! I have reworked the part where posts are added. I have also added a screenshot of the topic with lots of replies.
But I have a question. Should it be possible to upload just a JSON File or should it be possible to upload an entire ZIP File? The current state of the importer only supports an upload of a JSON File.
I have added screenshots of the upload mask as attachment.


Attachments:

- [topic_with_lots_of_replies.png](https://forge-allura.apache.org/p/allura/tickets/_discuss/thread/64b57215/5945/aa27/attachment/topic_with_lots_of_replies.png) (70.3 kB; image/png)
- [upload_mask_1.png](https://forge-allura.apache.org/p/allura/tickets/_discuss/thread/64b57215/5945/aa27/attachment/upload_mask_1.png) (24.7 kB; image/png)
- [upload_mask_2.png](https://forge-allura.apache.org/p/allura/tickets/_discuss/thread/64b57215/5945/aa27/attachment/upload_mask_2.png) (30.1 kB; image/png)


---

** [tickets:#7935] Forum importer for allura's own export format**

**Status:** open
**Milestone:** unreleased
**Labels:** import 
**Created:** Tue Jul 21, 2015 06:53 PM UTC by Dave Brondsema
**Last Updated:** Wed Mar 04, 2020 06:59 PM UTC
**Owner:** nobody





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.