*! version 1.0 July 21, 2021
help sblsf

Title

{ p2col:sblsf --}sblsf allows users to easily browse and access the posts of The Stata Forums in the stata window, including the title of the post, the number of visits and the number of replies.

Syntax

sblsf
[,
page(int)
sort(string)
cls
gap
line
mlink
wechat
]

Options

page(int)
Select the number of pages to browse The Stata Forums. The default is the first page.

sort(str)
The order of The Stata Forums. Including sort(title), sort(last), sort(start), sort(like), sort(replie), sort(member). See The Stata Forums

cls
Display the The Stata Forums after clearing the Results window

style
The display style and color of The Stata Forums posts,s(3) represents black, s(1) represents blue, s(2) represents red, and the default is s(3)

gap
Leave a space between different posts

line
There is a horizontal line between different posts

mlink
Generate the data of the forum post link in the form of Markdown. The function is mainly used to display Stata posts in the blog

wechat
Generate the data of the forum post link in the form of Title+Url. The function is mainly used in other social software to share and exchange stata posts with peers, such as WeChat and WhatsApp.

Description

sblsf sblsf allows users to easily browse and access the posts of The Stata Forums in the stata window, including the title of the post, the number of visits and the number of replies.

Examples

Browse posts on The Stata Forums homepage.

. sblsf

The Stata forum posts are displayed in blue style

. sblsf,s(1)

The Stata forum posts are displayed in red style

. sblsf,s(2)

Display the The Stata Forums after clearing the Results window

. sblsf,cls

Leave a space between different posts

. sblsf,gap

There is a horizontal line between different posts

. sblsf,line

Show posts on page 10 of The Stata Forums.

. sblsf,page(10)

Sort by the number of replies to posts on the stata forum.

. sblsf,sort(replie)

Generate the data of the forum post link in the form of Title+Url

. sblsf,w

Generate the data of the forum post link in the form of Markdown.

. sblsf,m

Author

Song Bolin(松柏林) Shenzhen University, China. wechat：songbl_stata

Other Commands

songbl (if installed) ssc install songbl (to install)

sbldo (if installed) ssc install sbldo (to install)

cngdf (if installed) ssc install cngdf (to install)