Project

General

Profile

Actions

Migration Dokeos 185 to Chamilo 20 - Blogs

General

  • Migrates the blogs from dokeos 185 to chamilo 2.0
  • Extension of CourseDataMigrationBlock

Files involved

  • /migration/platform/dokeos185/migration_block/course_blogs_migration_block.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_blog.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_blog_post.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_blog_comment.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_blog_attachment.class.php

Block prerequisites

  • Courses migration block

Dokeos185Blog

General information

  • Extension of Dokeos185CourseDataMigrationDataClass
  • Database: course
  • Table: blog

Validation method

  • Required Fields
    • User id must exist in id reference
    • Blog id
    • Blog title or blog subtitle
    • Date creation

Convert method

  • Create a new blog with the data class fields
  • Publish the blog in the current course

Dokeos185BlogPost

General information

  • Extension of Dokeos185CourseDataMigrationDataClass
  • Database: course
  • Table: blog_post

Validation method

  • Required Fields
    • Blog id
    • Title or Full text
    • Date creation
    • User id must exist in id reference

Convert method

  • Create a new blog_item with the data class fields
  • Add the blog_item to the correct blog

Dokeos185BlogComment

General information

  • Extension of Dokeos185CourseDataMigrationDataClass
  • Database: course
  • Table: blog_comment

Validation method

  • Required Fields
    • Blog id must exist in id reference (as publication)
    • Post id must exist in id reference
    • User id must exist in id reference
    • No task id
    • Title OR comment
    • Date creation

Convert method

  • Create a new feedback with the data class fields
  • Add the feedback to the correct blog publication

Dokeos185BlogAttachment

General information

  • Extension of Dokeos185CourseDataMigrationDataClass
  • Database: course
  • Table: blog_attachment

Validation method

  • Required Fields
    • Blog id must exist in id reference
    • Post id must exist in id reference
    • Comment id must exist in id reference if comment_id is set
    • Filename
    • The path to the file must exist

Convert method

  • Create a new document with the data class fields
  • Attach the document to either the blog item or the comment (depending on whether the comment_id is set or not)

Issues/Problems/Suggestions

  • Check the is valid methods
  • Blog rating
  • Blog rel user
  • Blog task
  • Blog task rel user

Please report all problem by creating a new issue in the 2.0 issue list [http://support.chamilo.org/projects/chamilo-20/issues]

Back to Migration Dokeos 1.8.5 to Chamilo 2.0 - General

Updated by a b about 12 years ago ยท 4 revisions