PWB 2.11 and url.txt

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
vcl
Observer
Observer
Posts: 6
Joined: Wed Apr 13, 2011 2:00 pm

PWB 2.11 and url.txt

Post by vcl »

We are using PWB v2.11 on our public library catalogs with our catalog address as an approved address in the url.txt file. The catalog opens fine and searching works fine. However, we also provide enhanced content through some third-party vendors. I have added their top-level urls in the url.txt file followed by an * as a wild-card hoping we could see all of the summaries and reviews, i.e. http://contentcafe2.btol.com/*. When I click on the "Reviews and Summaries" link in our catalog, it opens a new window and follows the link to http://contentcafe2.btol.com/* to get the enhanced content associated with the title displayed. The link opens in the spawned windows with links to "Summary", Cover Image", "Product Details" and "Reviews", but when you click on any of those links, nothing happens.
I can't see what url the window points to when you click on any of those links. How can I allow this additional enhanced content without knowing or allowing all other urls?

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

PWB uses Regular Expressions and with these you need to combine an "*" with another qualifier.

Instead of using the "*", just add the URL as PWB also matches when a URL contains the string.

For example:
+http://contentcafe2.btol.com

Will match on any URL that contains "http://contentcafe2.btol.com".


Here is a complete discussion of the PWB filters.

http://www.teamsoftwaresolutions.com/ph ... c.php?t=13

There are several tools you can use to build your filter file, here is a discussion of some of them.

http://www.teamsoftwaresolutions.com/ph ... php?t=1068

--Scott

Post Reply