Template talk:Book: Difference between revisions

From Tolkien Gateway
No edit summary
No edit summary
Line 1: Line 1:
{| class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 225px; border-collapse: collapse; font-size: 95%; clear: right;"
|-
!colspan="2" style="text-align: center; background:#B0C4DE"|'''{{{title}}}'''
|-
|colspan="2" style="font-size: 90%; text-align: center;"|{{{image}}}
|-
| colspan="2" |<small>'''Author''': {{{author}}}</small>
|-
!colspan="2" style="text-align: center; background:#B0C4DE"|'''Publication information:'''
|-
| colspan="2" |<small>'''Publisher''': {{{publisher}}}</small>
|-
| colspan="2" |<small>'''Released''': {{{date}}}</small>
|-
| colspan="2" |<small>'''Format''': {{{format}}}</small>
|-
| colspan="2" |<small>'''Pages''': {{{pages}}}</small>
|-
| colspan="2" |<small>'''ISBN''': {{{isbn}}}</small>
|-
!colspan="2" style="text-align: center; background:#B0C4DE"|'''Purchase'''
|-
|
*[http://www.abebooks.com/servlet/SearchResults?sts=t&tn={{PAGENAMEE}}&x=0&y=0 Search at AbeBooks.com]
*[http://www.abebooks.co.uk/servlet/SearchResults?sts=t&tn={{PAGENAMEE}}&x=0&y=0 Search at AbeBooks.co.uk]
*[http://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords={{PAGENAMEE}}&x=0&y=0 Search at Amazon.com]
*[http://www.amazon.co.uk/s/ref=nb_ss_w_h_?url=search-alias%3Daps&field-keywords={{PAGENAMEE}}&x=0&y=0 Search at Amazon.co.uk]
*[http://search.ebay.com/search/search.dll?cgiurl=http%3A%2F%2Fcgi.ebay.com%2Fws%2F&fkr=1&from=R8&satitle={{PAGENAMEE}}&category0= Search at eBay.com]
*[http://search.ebay.co.uk/search/search.dll?cgiurl=http%3A%2F%2Fcgi.ebay.com%2Fws%2F&fkr=1&from=R8&satitle={{PAGENAMEE}}&category0= Search at eBay.co.uk]
|-
|}
==Redo==
==Redo==
At one of the meetings, some time ago, we discussed the blatant free commercial we were giving Amazon. After pretty much doing nothing since, I decided to merge part of Mith's [[:Template:Mallorn]] with this, creating an automated search (so no more having to update prices). Any thoughts, comments? -- {{User:Ederchil/sig}} 18:48, 24 February 2009 (UTC)
At one of the meetings, some time ago, we discussed the blatant free commercial we were giving Amazon. After pretty much doing nothing since, I decided to merge part of Mith's [[:Template:Mallorn]] with this, creating an automated search (so no more having to update prices). Any thoughts, comments? -- {{User:Ederchil/sig}} 18:48, 24 February 2009 (UTC)
Line 48: Line 17:


So, any ideas on what we should do?--{{User:KingAragorn/sig}} 17:47, 27 February 2009 (UTC)
So, any ideas on what we should do?--{{User:KingAragorn/sig}} 17:47, 27 February 2009 (UTC)
:Maybe a switch? Another variable, "Buy", where "no" gets PAGENAMEE, and anything else gets said anything else? Need to figure out how to do that. Probably means getting two bottom halves-- {{User:Ederchil/sig}} 20:54, 4 March 2009 (UTC)

Revision as of 20:54, 4 March 2009

Redo

At one of the meetings, some time ago, we discussed the blatant free commercial we were giving Amazon. After pretty much doing nothing since, I decided to merge part of Mith's Template:Mallorn with this, creating an automated search (so no more having to update prices). Any thoughts, comments? -- Ederchil (Talk/Contribs/Edits) 18:48, 24 February 2009 (UTC)Reply[reply]

I think it looks good, I don't think it needs anything else.-- KingAragorn  talk  contribs  edits  email  19:26, 24 February 2009 (UTC)Reply[reply]
Changed it. -- Ederchil (Talk/Contribs/Edits) 14:33, 25 February 2009 (UTC)Reply[reply]


Problem

I've just found a slight problem with the automated search; it seems that both Amazon's and AbeBooks' search doesn't recognise special characters (it changes ú to ú), however eBay does recognise them. Therefore these searches don't work. As far I can see, only the following pages are affected:

So, any ideas on what we should do?-- KingAragorn  talk  contribs  edits  email  17:47, 27 February 2009 (UTC)Reply[reply]

Maybe a switch? Another variable, "Buy", where "no" gets PAGENAMEE, and anything else gets said anything else? Need to figure out how to do that. Probably means getting two bottom halves-- Ederchil (Talk/Contribs/Edits) 20:54, 4 March 2009 (UTC)Reply[reply]