After setting up the Fa Cai CMS, let's configure the X resource collection site. The collection method of Fa Cai CMS is different from that of Apple CMS; it will automatically scan all videos from the resource site and add them once the API is configured.
Fa Cai CMS Setup Tutorial#
Fa Cai CMS Tutorial Episode 1 - Beginner's Guide to Installation with Baota Panel
X Resource Collection Site#
This site collects most of the X resource collection sites currently available on the market, and the links are here: X Resource Collection Site URL Collection
Configure Collection Source#
Here, I will take the Peach Blossom Resource Site as an example: https://thzy1.me/
Open the official website of Peach Blossom Resources and copy the JSON collection interface: https://thzy1.me/api.php/provide/vod/?ac=list
In the website backend, find [Source Management], then add a new collection source. The source name can be customized, usually just write the name of the resource site. It is recommended to fill in the official website address of the resource site here, but you can also fill in any URL. Fill in the API interface provided by the collection site. Pay attention to the interface type and do not fill it in incorrectly. After filling it out, click Add, and the program will automatically crawl the content of the resource site.
Wait for five minutes, and you will see that many videos have been collected in the video management section of the website backend.
Set Categories#
After the video collection is completed, it will enter the program backend according to the categories of the resource site. In the category management section of the website backend, we can clearly see the category ID, belonging source (resource site name), and source category name (resource site's category name).
For example, if I want to add the "Black Material Eating Melon" category from the Peach Blossom Resource Site to the website, in the website backend's [Navigation Settings], first add a [Parent Node], fill in [Peach Blossom Resources], then click [Add Node] and save.
Then, in the [Navigation Settings], select the parent node as [Peach Blossom Resources], fill in "Black Material Eating Melon," click [Add Node], and save the configuration.
This way, we have set up a Peach Blossom Resource (first-level category) and Black Material Eating Melon (second-level category).
In the [Navigation Settings], select "Black Material Eating Melon," and in the address field, fill in "/category/1/Black Material Eating Melon" (/category/category ID/source category name). If you do not know the category ID and source category name, check the category management in the backend. Then click modify and save the configuration.
Now, when we open the homepage, we can see the navigation categories we just set up. The resources are automatically collected into the database, so after you set up the categories, refreshing the page will allow you to see the resources directly.
Set Navigation#
If you want to set external link navigation in the menu, as shown in the picture below, clicking on the X webmaster on the homepage will directly jump to this site.
Enter the website backend, select [Navigation Settings], and then add a new parent node.
Click on the newly added node, change the [Address] to the link you want to redirect to, and then select "Hyperlink Mode."
【Set Keywords】
If you want to add keywords in the navigation, first search for the keyword, such as "young woman," and then copy the address after the #.
In the website backend, select [Navigation Settings], add a new parent node "young woman," and save the settings.
This way, users can directly click on the keywords in the navigation menu to see the content.