Home > Net > A train of thought: how to record the user tags on e-books
A train of thought: how to record the user tags on e-books
Time:02-20
E-book reading online system, import content from word, text, tables, images and other HTML tags,
A function, now need to do is to the user to select some text can be added after the underline tag out, how to save these tags in the background?
1. The whole content of e-books is fixed not modify,
2. The ebook the number of pages and the content of each page is not fixed, will be adjusted according to how much each page display content,
3. User and e-book is a many-to-many relationship
CodePudding user response:
Whether text contents, forms, images and other HTML tags, saved are HTML string? That with a long record aren't string position is ok, anyway, tag is also his mark, impossible to tag to the abnormal position