Actions
MigDok185 Ch20 Blogs » History » Revision 1
Revision 1/4
| Next »
Sven Vanpoucke, 13/08/2010 12:36
MigDok185 Ch20 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
- 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
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
- 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
Please report all problem by creating a new issue in the 2.0 issue list [http://support.chamilo.org/projects/chamilo-20/issues]
Updated by Sven Vanpoucke over 12 years ago · 1 revisions