Changeset 9524
- Timestamp:
- 05/07/08 16:40:03 (2 months ago)
- Location:
- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/WWW
- Files:
-
- 2 modified
-
AddedContent.pm (modified) (2 diffs)
-
AddedContent/Amazon.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm
r8078 r9524 87 87 88 88 return Apache2::Const::NOT_FOUND unless $handler and $type and $format and $key; 89 return $res if defined($res = $AC->serve_from_cache($type, $format, $key));90 return Apache2::Const::NOT_FOUND unless $AC->lookups_enabled;91 89 92 90 my $err; … … 95 93 96 94 return Apache2::Const::NOT_FOUND unless $handler->can($method); 95 return $res if defined($res = $AC->serve_from_cache($type, $format, $key)); 96 return Apache2::Const::NOT_FOUND unless $AC->lookups_enabled; 97 97 98 98 try { -
branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent/Amazon.pm
r8077 r9524 48 48 # -------------------------------------------------------------------------- 49 49 50 sub toc_html {51 my( $self, $key ) = @_;52 }53 54 sub toc_xml {55 my( $self, $key ) = @_;56 }57 58 sub toc_json {59 my( $self, $key ) = @_;60 }61 62 # --------------------------------------------------------------------------63 64 sub anotes_html {65 my( $self, $key ) = @_;66 }67 68 sub anotes_xml {69 my( $self, $key ) = @_;70 }71 72 sub anotes_json {73 my( $self, $key ) = @_;74 }75 76 77 # --------------------------------------------------------------------------78 79 sub excerpt_html {80 my( $self, $key ) = @_;81 }82 83 sub excerpt_xml {84 my( $self, $key ) = @_;85 }86 87 sub excerpt_json {88 my( $self, $key ) = @_;89 }90 91 # --------------------------------------------------------------------------92 93 sub reviews_html {94 my( $self, $key ) = @_;95 }96 97 # we have to aggregate the reviews98 sub reviews_xml {99 my( $self, $key ) = @_;100 }101 102 103 sub reviews_json {104 my( $self, $key ) = @_;105 }106 107 # --------------------------------------------------------------------------108 109 50 sub send_img { 110 51 my($self, $response) = @_;
