Feed43 |
» Home
» Pricing
» Help
» Contact
Anonymous user
» My feeds
|
Search patterns are used to extract snippets of text or HTML from source documents. Search patterns can be treated as regular expressions, yet very easy to understand and write.
Output templates are used to join these snippets together to form user-friendly content of feed's items.
Here is the simple example that describes this idea.
Let's say, we need to create a feed that reports current weather, and have found a web page with the following source code:
We can create the following search pattern:
If we apply this pattern to the above html source, we will get the following list of snippets:
Now we can define output template, which combines these snippets together:
Thus, we get the resulting html code:
Read next: Step-by-step example of feed setup