It’s been a long time since I talked about modules. Today, some netizens asked what mod_rss does-what does mod_rss do to develop the RSS function of freeswitch? Isn’t rss used for subscribing to blogs? Should I subscribe to system news here?
The full name of RSS is Really Simple Syndication, that is, simple information aggregation, which is a message mode specification. Although most blogs output information in RSS format, which is convenient for RSS clients to read, it cannot be said that RSS is only for blog subscription, because any information can be output to RSS.
The function of mod_rss is to read local RSS files. Of course, these RSS files can be updated regularly with external programs or even directly through Javascript or Lua in Dialplan.
This module is not installed by default. You can install it by executing make mod_rss-install in the source code directory.
Then, download an RSS file, for example, you can download the RSS provided by my blog:
< p>
cd /tmp
wget http://www.dujinfang.com/feed.xml
Change conf/autoload_configs/rss.conf.xml to look like this:
< /p>
Then, create the following Dialplan and dial rss, it can read RSS aloud. Of course, in order for it to read Chinese aloud, I used the mod_tts_commandline module and wrote a script to use the TTS engine provided on my Mac for reading.
In the reading process, you can also press 0 to select an item, press 4 to listen to the previous one, press 6 to listen to the next one, and so on. You can try it if you are interested, it’s very interesting.
I don’t know how to embed audio in the graphic message. If anyone knows, let me know so I can share it with everyone.
It’s been a long time since I talked about modules. Today, some netizens asked what mod_rss does—what does mod_rss develop the RSS function of freeswitch? Isn’t rss used for subscribing to blogs? Should I subscribe to system news here?
The full name of RSS is Really Simple Syndication, that is, simple information aggregation, which is a message mode specification. Although most blogs output information in RSS format, which is convenient for RSS clients to read, it cannot be said that RSS is only for blog subscription, because any information can be output to RSS.
The function of mod_rss is to read local RSS files. Of course, these RSS files can be updated regularly with external programs or even directly through Javascript or Lua in Dialplan.
This module is not installed by default. You can install it by executing make mod_rss-install in the source code directory.
Then, download an RSS file, for example, you can download the RSS provided by my blog:
< p>
cd /tmp
wget http://www.dujinfang.com/feed.xml
Change conf/autoload_configs/rss.conf.xml to look like this:
< /p>
Then, create the following Dialplan and dial rss, it can read RSS aloud. Of course, in order for it to read Chinese aloud, I used the mod_tts_commandline module and wrote a script to use the TTS engine provided on my Mac for reading.
In the reading process, you can also press 0 to select an item, press 4 to listen to the previous one, press 6 to listen to the next one, and so on. You can try it if you are interested, it’s very interesting.
I don’t know how to embed audio in the graphic message. If anyone knows, let me know so I can share it with everyone.