How do I create a custom template?
If you're comfortable with "regular expression" or JSON, these instructions are for you:
Vuze supports two kinds of custom search templates. The most common is "regular expression," which matches against the source code of a search results page. The second type, JSON, is for sites which provide data in JSON format.
To create a regexp template:
1) After clicking "Create a custom template" at the bottom of the "Add/edit" dialog, make sure "regular expression" is selected, and click "Continue."
2) Give your template a name, then use your browser to do a search on the site you're making the template for. Copy the URL into "URL to search," and replace your query term with "%s".
3) "Preview search term" can be any search keyword that gives multiple results. This must be filled in to get to step 5 (where you select which fields to show in the final search results).
4) Begin writing your regular expression by using your browser to View Source for a search on the external site. Find the HTML code for one search result, and copy it into the template editor. Then, replace every dynamic part of the code with characters like (.*?) or ([^>])
For parts that contain useful information, put capture brackets () around the expression. You can also click "Preview matches" to see which parts of the HTML code are matched by your regular expression.
5) When you're done, click "continue" to see the first five matches for your preview term. Use the menus to select what each of the captured fields represents, then click "Save and finish".
6) The template is now ready for use on your machine. To share it with others, click the "Export as file" button. This gives you a .vuze file that you can publish on a blog or website, and other people can import it by clicking "Add/Edit" from the search page.
Vuze supports two kinds of custom search templates. The most common is "regular expression," which matches against the source code of a search results page. The second type, JSON, is for sites which provide data in JSON format.
To create a regexp template:
1) After clicking "Create a custom template" at the bottom of the "Add/edit" dialog, make sure "regular expression" is selected, and click "Continue."
2) Give your template a name, then use your browser to do a search on the site you're making the template for. Copy the URL into "URL to search," and replace your query term with "%s".
3) "Preview search term" can be any search keyword that gives multiple results. This must be filled in to get to step 5 (where you select which fields to show in the final search results).
4) Begin writing your regular expression by using your browser to View Source for a search on the external site. Find the HTML code for one search result, and copy it into the template editor. Then, replace every dynamic part of the code with characters like (.*?) or ([^>])
For parts that contain useful information, put capture brackets () around the expression. You can also click "Preview matches" to see which parts of the HTML code are matched by your regular expression.
5) When you're done, click "continue" to see the first five matches for your preview term. Use the menus to select what each of the captured fields represents, then click "Save and finish".
6) The template is now ready for use on your machine. To share it with others, click the "Export as file" button. This gives you a .vuze file that you can publish on a blog or website, and other people can import it by clicking "Add/Edit" from the search page.
- Can I turn seeding off?
- Do you sell uploaded user content?
- How can the Vuze client allow me to upload and download large files so quickly?
- How do I "uninstall" the Vuze Toolbar in Firefox?
- How do I "uninstall" the Vuze Toolbar in Internet Explorer?
- How do I create a custom template?
- How do I register again using a different email address?
- How do I schedule my upload and download speeds in Vuze?
- How do I setup Port Forwarding on my router?
- How do I setup Vuze to download faster?
- How to I run a port test?
- I am getting a "Disk read error" message when trying to download a content, what do I do?
- I forgot my username or password.
- I know about Azureus; tell me about Vuze
- I know about Vuze; tell me about torrents / bittorrent.
- Is there a cost associated with using the Vuze Platform?
- Is this open source software?
- Vuze respects the privacy of its users. What does this mean?
- What do I do If I have a Firewall software?
- What is "Seeding"?
- What is a torrent?
- What is Vuze?
- What operating systems does Vuze support?
- Why am I being asked to reset my password?
- Why are most of my torrents queued and not downloading?