|
What this is
Other links
The source code<!-- - $Revision: 1.5 $ - $Date: 2005/01/26 05:58:01 $ - - ==================================================================== - - Copyright (C) 2002, 2003 by MyVietnam.net - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or any later version. - - All copyright notices regarding mvnForum MUST remain intact - in the scripts and in the outputted HTML. - The "powered by" text/logo with a link back to - http://www.mvnForum.com and http://www.MyVietnam.net in the - footer of the pages MUST remain visible when the pages - are viewed on the internet or intranet. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - Support can be obtained from support forums at: - http://www.mvnForum.com/mvnforum/index - - Correspondence and Marketing Questions can be sent to: - info@MyVietnam.net --> <!-- ===================================================================== === MVN Forum XML DTD definition === === === === Made by Igor Manic, mailto:imanic@users.sourceforge.net === === === === Donated to General Public === === === === === === this file can be obtained at: === === http://www.mvnforum.com/dtd/mvnforum_1_0_rc2.dtd === ===================================================================== Used formats: timestamp: use one of the following formats: yyyy/MM/dd HH:mm:ss.nn yyyy-MM-dd HH:mm:ss.nn yyyyMMddHHmmssnn EEE MMM dd HH:mm:ss z yyyy (e.g.: "Fri Jan 16 18:48:25 CEST 2002") In first three formats, last "nn" are hundreths and are optional example: 2001/01/17 19:17:33 exception: MemberBirthday is not complete timestamp, it's only the date part (e.g. yyyy/MM/DD) boolean: use values: 0, 1, true, false, yes, no some info on mvnForum database: - all ID fields in the database are auto_increment, and might not be exported to XML (that is, they are optional), except for the AttachmentID, since it is important because of attachment file name on the server - MemberGroup allows (GroupID,MemberID)=(0,0) - that record should be ignored - MemberForum allows (MemberID,ForumID)=(0,0) - that record should be ignored - GroupForum allows (GroupID,ForumID)=(0,0) - that record should be ignored - Watch allows (MemberID,CategoryID,ForumID,ThreadID)=(0,0,0,0) - that record should be ignored --> <!ELEMENT mvnforum (MemberList?, GroupList?, CategoryList?, RankList?)> <!ATTLIST mvnforum version (1.0) #REQUIRED exportDate CDATA #REQUIRED > <!-- ================================================= --> <!-- ==== MEMBERS, permissions and message folders === --> <!-- ================================================= --> <!ELEMENT MemberList (Member*)> <!ELEMENT Member (MemberName, MemberPassword, MemberFirstEmail, MemberEmail, MemberEmailVisible?, MemberNameVisible?, MemberFirstIP?, MemberLastIP?, MemberViewCount?, MemberPostCount?, MemberCreationDate?, MemberModifiedDate?, MemberExpireDate?, MemberLastLogon?, MemberOption?, MemberStatus?, MemberActivateCode?, MemberTempPassword?, MemberMessageCount?, MemberMessageOption?, MemberPostsPerPage?, MemberWarnCount?, MemberVoteCount?, MemberVoteTotalStars?, MemberRewardPoints?, MemberTitle, MemberTimeZone?, MemberSignature?, MemberAvatar?, MemberSkin?, MemberLanguage?, MemberFirstname, MemberLastname, MemberGender?, MemberBirthday?, MemberAddress?, MemberCity?, MemberState?, MemberCountry?, MemberPhone?, MemberMobile?, MemberFax?, MemberCareer?, MemberHomepage?, MemberYahoo?, MemberAol?, MemberIcq?, MemberMsn?, MemberCoolLink1?, MemberCoolLink2?, GlobalPermissionList?, MessageFolderList?, GlobalWatchList?)> <!ATTLIST Member class (Guest|Admin) #IMPLIED> <!ELEMENT MessageFolderList (MessageFolder*)> <!-- MessageFolder.MemberID is not here --> <!ELEMENT MessageFolder (FolderName, FolderOrder?, FolderCreationDate?, FolderModifiedDate?)> <!ELEMENT GlobalWatchList (GlobalWatch*)> <!-- ================================================= --> <!-- ============== GROUPS (of members) ============== --> <!-- ================================================= --> <!ELEMENT GroupList (Group*)> <!-- Group.GroupOwnerID is not here --> <!ELEMENT Group (GroupOwnerName?, GroupName, GroupDesc?, GroupOption?, GroupCreationDate?, GroupModifiedDate?, GlobalPermissionList?, GroupMemberList?)> <!ATTLIST Group class (RegisteredMembers) #IMPLIED> <!ELEMENT GroupMemberList (GroupMember*)> <!-- GroupMember.GroupID and GroupMember.MemberID are not here --> <!ELEMENT GroupMember (MemberName, Privilege?, CreationDate?, ModifiedDate?)> <!-- ================================================= --> <!-- ============== GLOBAL PERMISSIONS =============== --> <!-- ================================================= --> <!ELEMENT GlobalPermissionList (GlobalPermission*)> <!ELEMENT GlobalPermission (#PCDATA)> <!-- ================================================= --> <!-- ================== CATEGORIES =================== --> <!-- ================================================= --> <!ELEMENT CategoryList (Category*)> <!-- Category.CategoryID and Category.ParentCategoryID are not here --> <!-- each Category can have it's own subcategories --> <!ELEMENT Category (CategoryName, CategoryDesc?, CategoryCreationDate?, CategoryModifiedDate?, CategoryOrder?, CategoryOption?, CategoryStatus?, CategoryWatchList?, ForumList?, CategoryList?)> <!ELEMENT CategoryWatchList (CategoryWatch*)> <!-- ================================================= --> <!-- ==================== FORUMS ===================== --> <!-- ================================================= --> <!ELEMENT ForumList (Forum*)> <!-- Forum.ForumID and Forum.CategoryID are not here --> <!ELEMENT Forum (ForumLastPostMemberName?, ForumName, ForumDesc?, ForumCreationDate?, ForumModifiedDate?, ForumLastPostDate?, ForumOrder?, ForumType?, ForumFormatOption?, ForumOption?, ForumStatus?, ForumModerationMode?, ForumPassword, ForumThreadCount?, ForumPostCount?, MemberForumPermissionList?, GroupForumPermissionList?, ForumWatchList?, ThreadList?)> <!ELEMENT ForumWatchList (ForumWatch*)> <!-- ================================================= --> <!-- ========== FORUM-SPECIFIC PERMISSIONS =========== --> <!-- ================================================= --> <!ELEMENT MemberForumPermissionList (MemberForumPermission*)> <!ELEMENT MemberForumPermission (MemberName, ForumPermission)> <!ELEMENT GroupForumPermissionList (GroupForumPermission*)> <!ELEMENT GroupForumPermission (GroupName, ForumPermission)> <!ELEMENT ForumPermission (#PCDATA)> <!-- ================================================= --> <!-- ==================== THREADS ==================== --> <!-- ================================================= --> <!ELEMENT ThreadList (Thread*)> <!-- Thread.ThreadID and Thread.ForumID are not here --> <!ELEMENT Thread (MemberName?, ThreadLastPostMemberName?, ThreadTopic, ThreadBody, ThreadVoteCount?, ThreadVoteTotalStars?, ThreadCreationDate?, ThreadLastPostDate?, ThreadType?, ThreadOption?, ThreadStatus?, ThreadHasPoll?, ThreadViewCount?, ThreadReplyCount?, ThreadIcon?, ThreadDuration?, ThreadWatchList?, FavoriteThreadList?, PostList?)> <!ELEMENT ThreadWatchList (ThreadWatch*)> <!ELEMENT FavoriteThreadList (FavoriteThread*)> <!-- this is list of FavoriteThread records that refer to this particular thread --> <!-- FavoriteThread.MemberID is not here, but I added MemberName to identify the member --> <!ELEMENT FavoriteThread (MemberName, FavoriteCreationDate?, FavoriteType?, FavoriteOption?, FavoriteStatus?)> <!-- ================================================= --> <!-- ===================== POSTS ===================== --> <!-- ================================================= --> <!ELEMENT PostList (Post*)> <!-- Post.PostID, Post.ParentPostID, Post.ForumID, Post.ThreadID, Post.MemberID are not here --> <!-- each post can have it's own replies --> <!ELEMENT Post (MemberName?, LastEditMemberName?, PostTopic, PostBody, PostCreationDate?, PostLastEditDate?, PostCreationIP?, PostLastEditIP?, PostEditCount?, PostFormatOption?, PostOption?, PostStatus?, PostIcon?, PostAttachCount?, AttachmentList?, PostList?)> <!-- ================================================= --> <!-- ================== ATTACHMENTS ================== --> <!-- ================================================= --> <!ELEMENT AttachmentList (Attachment*)> <!-- Attachment.AttachID is mandatory. Otherwise, we would lose connection between this data (in database), and attachment files on server --> <!ATTLIST Attachment id CDATA #REQUIRED> <!-- Attachment.PostID, Attachment.MemberID are not here, but I've added Attachment.MemberName (which is unique) to identify the member --> <!ELEMENT Attachment (MemberName?, AttachFilename, AttachFileSize, AttachMimeType, AttachDesc?, AttachCreationIP?, AttachCreationDate?, AttachModifiedDate?, AttachDownloadCount?, AttachOption?, AttachStatus?)> <!-- ================================================= --> <!-- ==================== WATCHES ==================== --> <!-- ================================================= --> <!-- WatchID and MemberID are not subelements in any of these watch elements <GlobalWatch>: it doesn't need CategoryID, ForumID, ThreadID, and it corresponds to the parent <Member> element <ThreadWatch>, |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.