Announcement

Collapse
No announcement yet.

Description of PBforum.db Table: ThreadContent Field: PostContent

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Description of PBforum.db Table: ThreadContent Field: PostContent

    Most of the fields in the database are easily understood by simply their name and a quick glance at the field content. Here's my feeble attempt to explain the contents of the PostContent field of the ThreadContent table...

    Step 1) For each post of a thread I locate the start and end of this HTML div...
    "<div class="js-post__content-text ... >" "</div>"

    Step 2) Once I have the text of the post...I trim some unwanted noise from the content to be stored
    sPostContent = TRIM$(sTextFromPost,ANY $CR + $LF + $TAB + $SPC)

    Hopefully this is one of those moments where a picture is worth a thousand words...here is an example:
    Click image for larger version  Name:	Content.jpg Views:	0 Size:	377.7 KB ID:	797775
Working...
X