updating dumpac-bookbag links
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 29 Jul 2006 00:33:14 +0000 (00:33 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 29 Jul 2006 00:33:14 +0000 (00:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5166 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
Open-ILS/web/opac/skin/default/js/myopac.js

index f5c7e66..4b6fd5a 100644 (file)
@@ -696,9 +696,9 @@ sub bookbag_feed {
        $feed->creator($host);
        $feed->update_ts(gmtime_ISO8601());
 
-       $feed->link(rss => $base . "/rss2/$id" => 'application/rss+xml');
-       $feed->link(alternate => $base . "/atom/$id" => 'application/atom+xml');
-       $feed->link(html => $base . "/html/$id" => 'text/html');
+       $feed->link(rss => $base . "/rss2-full/$id" => 'application/rss+xml');
+       $feed->link(alternate => $base . "/atom-full/$id" => 'application/atom+xml');
+       $feed->link(html => $base . "/html-full/$id" => 'text/html');
        $feed->link(unapi => $unapi);
 
        $feed->link(
@@ -765,9 +765,9 @@ sub changes_feed {
        $feed->creator($host);
        $feed->update_ts(gmtime_ISO8601());
 
-       $feed->link(rss => $base . "/rss2/$rtype/$axis/$limit/$date" => 'application/rss+xml');
-       $feed->link(alternate => $base . "/atom/$rtype/$axis/$limit/$date" => 'application/atom+xml');
-       $feed->link(html => $base . "/html/$rtype/$axis/$limit/$date" => 'text/html');
+       $feed->link(rss => $base . "/rss2-full/$rtype/$axis/$limit/$date" => 'application/rss+xml');
+       $feed->link(alternate => $base . "/atom-full/$rtype/$axis/$limit/$date" => 'application/atom+xml');
+       $feed->link(html => $base . "/html-full/$rtype/$axis/$limit/$date" => 'text/html');
        $feed->link(unapi => $unapi);
 
        $feed->link(
@@ -819,9 +819,9 @@ Content-type: application/opensearchdescription+xml; charset=utf-8
   <Description>Search the $lib OPAC by $class.</Description>
   <Tags>$lib book library</Tags>
   <Url type="application/rss+xml"
-       template="$base/1.1/$lib/rss2/$class/?searchTerms={searchTerms}&startPage={startPage?}&amp;startIndex={startIndex?}&amp;count={count?}&amp;searchLang={language?}"/>
+       template="$base/1.1/$lib/rss2-full/$class/?searchTerms={searchTerms}&startPage={startPage?}&amp;startIndex={startIndex?}&amp;count={count?}&amp;searchLang={language?}"/>
   <Url type="application/atom+xml"
-       template="$base/1.1/$lib/atom/$class/?searchTerms={searchTerms}&startPage={startPage?}&amp;startIndex={startIndex?}&amp;count={count?}&amp;searchLang={language?}"/>
+       template="$base/1.1/$lib/atom-full/$class/?searchTerms={searchTerms}&startPage={startPage?}&amp;startIndex={startIndex?}&amp;count={count?}&amp;searchLang={language?}"/>
   <Url type="application/x-mods3+xml"
        template="$base/1.1/$lib/mods3/$class/?searchTerms={searchTerms}&startPage={startPage?}&amp;startIndex={startIndex?}&amp;count={count?}&amp;searchLang={language?}"/>
   <Url type="application/x-mods+xml"
index 0357820..90b3dad 100644 (file)
@@ -808,12 +808,12 @@ function myOPACShowBookbags(force) {
                if( isTrue(cont.pub()) ) {
                        unHideMe($n(row, 'myopac_bb_published_yes'));
                        var link = $n(row, 'myopac_bb_published_view');
-                       link.setAttribute('href', buildExtrasLink( 'feed/bookbag/html/'+cont.id(), false));  
+                       link.setAttribute('href', buildExtrasLink( 'feed/bookbag/html-full/'+cont.id(), false));  
                        link.setAttribute('target', '_blank' );
                        unHideMe(link);
 
                        link = $n(row, 'myopac_bb_published_atom');
-                       link.setAttribute('href', buildExtrasLink( 'feed/bookbag/rss2/'+cont.id(), false));  
+                       link.setAttribute('href', buildExtrasLink( 'feed/bookbag/atom-full/'+cont.id(), false));  
                        link.setAttribute('target', '_blank' );
                        unHideMe(link);