jekyll-paginate-v2 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -43
  3. data/Rakefile +2 -2
  4. data/jekyll-paginate-v2.gemspec +3 -1
  5. data/lib/jekyll-paginate-v2.rb +12 -8
  6. data/lib/jekyll-paginate-v2/autopages/autoTagPages.rb +66 -0
  7. data/lib/jekyll-paginate-v2/autopages/defaults.rb +26 -0
  8. data/lib/jekyll-paginate-v2/autopages/utils.rb +21 -0
  9. data/lib/jekyll-paginate-v2/{compatibilityUtils.rb → generator/compatibilityUtils.rb} +4 -2
  10. data/lib/jekyll-paginate-v2/{defaults.rb → generator/defaults.rb} +3 -2
  11. data/lib/jekyll-paginate-v2/{paginationGenerator.rb → generator/paginationGenerator.rb} +14 -9
  12. data/lib/jekyll-paginate-v2/generator/paginationIndexer.rb +93 -0
  13. data/lib/jekyll-paginate-v2/{paginationModel.rb → generator/paginationModel.rb} +99 -120
  14. data/lib/jekyll-paginate-v2/{paginationPage.rb → generator/paginationPage.rb} +1 -1
  15. data/lib/jekyll-paginate-v2/{paginator.rb → generator/paginator.rb} +1 -1
  16. data/lib/jekyll-paginate-v2/{utils.rb → generator/utils.rb} +11 -4
  17. data/lib/jekyll-paginate-v2/version.rb +4 -4
  18. data/spec/{defaults_spec.rb → generator/defaults_spec.rb} +5 -3
  19. data/spec/generator/paginationPage_spec.rb +12 -0
  20. data/spec/{paginator_spec.rb → generator/paginator_spec.rb} +21 -18
  21. data/spec/generator/utils_spec.rb +90 -0
  22. data/spec/spec_helper.rb +8 -30
  23. metadata +41 -87
  24. data/examples/01-typicalblog/Gemfile +0 -28
  25. data/examples/01-typicalblog/README.md +0 -91
  26. data/examples/01-typicalblog/_config.yml +0 -51
  27. data/examples/01-typicalblog/_includes/header.html +0 -31
  28. data/examples/01-typicalblog/_layouts/home.html +0 -52
  29. data/examples/01-typicalblog/_posts/2016-11-20-geography-of-minneapolis.md +0 -29
  30. data/examples/01-typicalblog/_posts/2016-11-21-sailing-summer-olympics-1988.md +0 -15
  31. data/examples/01-typicalblog/_posts/2016-11-22-rotary-engine.md +0 -27
  32. data/examples/01-typicalblog/_posts/2016-11-23-luft-fahrzeug-gesellschaft.md +0 -27
  33. data/examples/01-typicalblog/_posts/2016-11-24-narcisse-snake-pits.md +0 -18
  34. data/examples/01-typicalblog/_posts/2016-11-25-tele7jours.md +0 -43
  35. data/examples/01-typicalblog/_posts/2016-11-26-columbia-river.md +0 -41
  36. data/examples/01-typicalblog/_posts/2016-11-27-welcome-to-jekyll-paginate-v2.md +0 -33
  37. data/examples/01-typicalblog/about.md +0 -15
  38. data/examples/01-typicalblog/index.html +0 -8
  39. data/examples/02-category/Gemfile +0 -28
  40. data/examples/02-category/README.md +0 -119
  41. data/examples/02-category/_config.yml +0 -47
  42. data/examples/02-category/_includes/header.html +0 -31
  43. data/examples/02-category/_layouts/home.html +0 -52
  44. data/examples/02-category/_posts/2016-10-27-welcome-to-jekyll-paginate-v2.md +0 -32
  45. data/examples/02-category/about.md +0 -15
  46. data/examples/02-category/cars/_posts/2016-10-18-Porsche-918-Spyder.md +0 -13
  47. data/examples/02-category/cars/_posts/2016-10-19-Porsche-964.md +0 -12
  48. data/examples/02-category/cars/_posts/2016-10-20-porsche-911-gt3.md +0 -13
  49. data/examples/02-category/cars/_posts/2016-10-21-porsche-911.md +0 -13
  50. data/examples/02-category/cars/_posts/2016-10-22-porsche-962.md +0 -18
  51. data/examples/02-category/cars/_posts/2016-10-23-Toyota-GT-One.md +0 -20
  52. data/examples/02-category/cars/_posts/2016-10-24-Mercedes-Benz-CLK-GTR.md +0 -40
  53. data/examples/02-category/cars/_posts/2016-10-25-rolls-royce-silver-ghost.md +0 -31
  54. data/examples/02-category/categories/byname.md +0 -11
  55. data/examples/02-category/categories/porsche.md +0 -10
  56. data/examples/02-category/index.md +0 -13
  57. data/examples/02-category/toyota/index.md +0 -7
  58. data/examples/03-tags/Gemfile +0 -28
  59. data/examples/03-tags/README.md +0 -67
  60. data/examples/03-tags/_biography/all/born-to-run.md +0 -26
  61. data/examples/03-tags/_biography/all/forty-autumns.md +0 -26
  62. data/examples/03-tags/_biography/all/life-in-questions-a.md +0 -27
  63. data/examples/03-tags/_biography/all/not-dead-yet.md +0 -24
  64. data/examples/03-tags/_biography/all/princess-diarist-the.md +0 -26
  65. data/examples/03-tags/_biography/all/when-breath-becomes-air.md +0 -24
  66. data/examples/03-tags/_biography/biography-musicians.md +0 -13
  67. data/examples/03-tags/_biography/index.md +0 -12
  68. data/examples/03-tags/_config.yml +0 -57
  69. data/examples/03-tags/_fantasy/all/harry-potter-deathly-hallows.md +0 -24
  70. data/examples/03-tags/_fantasy/all/harry-potter-philosophers-stone.md +0 -24
  71. data/examples/03-tags/_fantasy/all/mistborn-trilogy.md +0 -24
  72. data/examples/03-tags/_fantasy/all/ready-player-one.md +0 -24
  73. data/examples/03-tags/_fantasy/all/sword-of-destiny.md +0 -24
  74. data/examples/03-tags/_fantasy/all/terry-pratchet-diary-2017.md +0 -24
  75. data/examples/03-tags/_includes/header.html +0 -31
  76. data/examples/03-tags/_layouts/home.html +0 -51
  77. data/examples/03-tags/_layouts/post.html +0 -20
  78. data/examples/03-tags/_romance/all/breath-of-snow-and-ashes-a.md +0 -25
  79. data/examples/03-tags/_romance/all/dressmaker-the.md +0 -24
  80. data/examples/03-tags/_romance/all/fiery-cross-the.md +0 -26
  81. data/examples/03-tags/_romance/all/it-ends-with-us.md +0 -28
  82. data/examples/03-tags/_romance/all/outlander-novel.md +0 -34
  83. data/examples/03-tags/_romance/all/virgins-outlander-short-story.md +0 -26
  84. data/examples/03-tags/_romance/romance-historical.md +0 -14
  85. data/examples/03-tags/blog/_posts/2016-09-30-welcome-to-jekyll-paginate-v2.md +0 -32
  86. data/examples/03-tags/byisbn.md +0 -14
  87. data/examples/03-tags/index.md +0 -19
  88. data/examples/03-tags/tags/contemporary.md +0 -11
  89. data/examples/03-tags/tags/fantasy.md +0 -13
  90. data/examples/03-tags/tags/sci-fi.md +0 -16
  91. data/examples/README.md +0 -23
  92. data/examples/img/01-example-screenshot-main.png +0 -0
  93. data/examples/img/02-example-screenshot-main.png +0 -0
  94. data/examples/img/03-example-screenshot-main.png +0 -0
  95. data/spec/utils_spec.rb +0 -65
@@ -1,15 +0,0 @@
1
- ---
2
- layout: page
3
- title: About
4
- permalink: /about/
5
- ---
6
-
7
- This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
8
-
9
- You can find the source code for the Jekyll new theme at:
10
- {% include icon-github.html username="jekyll" %} /
11
- [minima](https://github.com/jekyll/minima)
12
-
13
- You can find the source code for Jekyll at
14
- {% include icon-github.html username="jekyll" %} /
15
- [jekyll](https://github.com/jekyll/jekyll)
@@ -1,8 +0,0 @@
1
- ---
2
- # You don't need to edit this file, it's empty on purpose.
3
- # Edit theme's home layout instead if you wanna make some changes
4
- # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
5
- layout: home
6
- pagination:
7
- enabled: true
8
- ---
@@ -1,28 +0,0 @@
1
- source "https://rubygems.org"
2
- ruby RUBY_VERSION
3
-
4
- # Hello! This is where you manage which Jekyll version is used to run.
5
- # When you want to use a different version, change it below, save the
6
- # file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
7
- #
8
- # bundle exec jekyll serve
9
- #
10
- # This will help ensure the proper Jekyll version is running.
11
- # Happy Jekylling!
12
- gem "jekyll", "3.3.0"
13
-
14
- # This is the default theme for new Jekyll sites. You may change this to anything you like.
15
- gem "minima", "~> 2.0"
16
-
17
- # If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18
- # uncomment the line below. To upgrade, run `bundle update github-pages`.
19
- # gem "github-pages", group: :jekyll_plugins
20
-
21
- source 'https://rubygems.org'
22
-
23
- group :jekyll_plugins do
24
- gem "jekyll-paginate-v2"
25
- gem "jekyll-feed"
26
- end
27
-
28
- gem 'wdm', '>= 0.1.0' if Gem.win_platform?
@@ -1,119 +0,0 @@
1
- # Example 02::Category pagination
2
- This example website contains information about sports cars and has a single main paginated front page that lists all entries in the system. It also contains separate paginated category pages that list only subset of cars on the site.
3
-
4
- <p align="center">
5
- <img src="https://raw.githubusercontent.com/sverrirs/jekyll-paginate-v2/master/examples/img/02-example-screenshot-main.png" />
6
- </p>
7
-
8
- The site is generated using the jekyll built in new command `jekyll new myblog` and it uses the [default `minima` theme](https://github.com/jekyll/minima).
9
-
10
- After generating the pagination gem was installed using
11
- ```
12
- gem install jekyll-paginate-v2
13
- ```
14
-
15
- ## Structure
16
- The blog has two types of posts that can be found under `_posts/` and the `cars/_posts` folder.
17
-
18
- > The `cars/_posts` folder structure is handy as it automatically assigns the category `cars` to all posts under it.
19
-
20
- Users can then assign other categories to their posts by editing each post's front-matter as they see fit.
21
-
22
- This site uses the same `_layouts/home.html` and `_includes/header.html` overrides as Example 01 does (please refer to that example project for details).
23
-
24
- The project also has additional pagination pages that only list subsets of the car list `toyota/index.md`, `categories/porsche.md`, `categories/byname.md`.
25
-
26
- > It is not advisable to have multiple pagination pages stored directly under the main site root. It makes it easy to mis-configure resulting in overwritten pagination pages unless developers remember to specify a unique `pagination: permalink: ''` override for each pagination page.
27
-
28
-
29
- ### Toyota/index.md
30
- Simple category pagination page that only paginates cars having the category `sports` assigned to them. The configuration is simple being only
31
-
32
- ``` yml
33
- ---
34
- layout: home
35
- title: Toyota
36
- pagination:
37
- enabled: true
38
- category: sports
39
- ---
40
- ```
41
-
42
- This configuration draws the paging permalink structure from the `_config.yml` file. Therefore the generated paging urls will be based on the folder name of the pagination page with the site configuration permalink added to it, like so:
43
-
44
- ```
45
- Page 1: http://localhost:4000/toyota/
46
- Page 2: http://localhost:4000/toyota/page/2/
47
- Page N: http://localhost:4000/toyota/page/N/
48
- ```
49
-
50
- ### Categories/porsche.md
51
- This is a more complex category pagination including a permalink override for both the main page url and the pagination pages. The configuration for the page looks like this
52
-
53
- ``` yml
54
- ---
55
- layout: home
56
- title: Only Porsche
57
- permalink: /porsches/
58
- pagination:
59
- enabled: true
60
- category: porsche
61
- permalink: /:num/
62
- ---
63
- ```
64
-
65
- The paging will only list posts in the category `porsche`. The main difference here is that the url structure generated will look different because of the combined page and category permalink config in the main front-matter.
66
-
67
- ```
68
- Page 1: http://localhost:4000/porsches/
69
- Page 2: http://localhost:4000/porsches/2/
70
- Page N: http://localhost:4000/porsches/N/
71
- ```
72
-
73
- ### Categories/byname.md
74
- This pagination page expands on the the first two examples by adding a custom sorting for the category pagination. It displays all cars but by alphabetical order by Car name.
75
-
76
- This configuration is achieved with the following front-matter configuration
77
- ``` yml
78
- ---
79
- layout: home
80
- title: By Name
81
- permalink: /name/
82
- pagination:
83
- enabled: true
84
- category: cars
85
- permalink: /:num/
86
- sort_field: 'title'
87
- sort_reverse: false
88
- ---
89
- ```
90
-
91
- The paging url structure will look similar to the example before
92
-
93
- ```
94
- Page 1: http://localhost:4000/name/
95
- Page 2: http://localhost:4000/name/2/
96
- Page N: http://localhost:4000/name/N/
97
- ```
98
-
99
- ## Setup Configuration
100
- The gem is added to the `_config.yml` file under
101
- ``` yml
102
- gems:
103
- - jekyll-paginate-v2
104
- ```
105
-
106
- as well as to the `Gemfile` into the main loop
107
- ``` ruby
108
- group :jekyll_plugins do
109
- gem "jekyll-paginate-v2"
110
- gem "jekyll-feed"
111
- end
112
- ```
113
-
114
- At this point is is advisable to delete the `Gemfile.lock` file to clear out any potential issues with gem caching and dependency issues (no worries this file will be auto generated for you again).
115
-
116
-
117
- Try building the site yourself using `jekyll build` or `jekyll serve`.
118
-
119
- Cheers :heart:
@@ -1,47 +0,0 @@
1
- # Welcome to Jekyll!
2
- #
3
- # This config file is meant for settings that affect your whole blog, values
4
- # which you are expected to set up once and rarely edit after that. If you find
5
- # yourself editing these this file very often, consider using Jekyll's data files
6
- # feature for the data you need to update frequently.
7
- #
8
- # For technical reasons, this file is *NOT* reloaded automatically when you use
9
- # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
-
11
- # Site settings
12
- # These are used to personalize your new site. If you look in the HTML files,
13
- # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14
- # You can create any custom variable you would like, and they will be accessible
15
- # in the templates via {{ site.myvariable }}.
16
- title: Paginate Example - 02 Categories
17
- email: jekyll@sverrirs.com
18
- description: > # this means to ignore newlines until "baseurl:"
19
- Shows how the jekyll-paginate-v2 gem can be used to paginate on categories.
20
- baseurl: "" # the subpath of your site, e.g. /blog
21
- url: "" # the base hostname & protocol for your site, e.g. http://example.com
22
- github_username: sverrirs
23
-
24
- # Build settings
25
- markdown: kramdown
26
- theme: minima
27
- gems:
28
- - jekyll-paginate-v2
29
- exclude:
30
- - Gemfile
31
- - Gemfile.lock
32
-
33
- # Due to us using the categories for posts then it is advisable to explicitly specify a
34
- # permalink structure for the site. Otherwise Jekyll attempts to organize the pages in folders
35
- # by the category names and it doesn't understand multi-categories to well :/
36
- permalink: /:year/:month/:title.html
37
- #permalink: pretty
38
-
39
- # Pagination Settings
40
- pagination:
41
- enabled: true
42
- per_page: 2
43
- permalink: '/page/:num/'
44
- title_suffix: ' - page :num'
45
- limit: 0
46
- sort_field: 'date'
47
- sort_reverse: true
@@ -1,31 +0,0 @@
1
- <header class="site-header" role="banner">
2
-
3
- <div class="wrapper">
4
-
5
- <a class="site-title" href="{{ "/" | relative_url}}">{{ site.title | escape }}</a>
6
-
7
- <nav class="site-nav">
8
- <span class="menu-icon">
9
- <svg viewBox="0 0 18 15" width="18px" height="15px">
10
- <path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
11
- <path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
12
- <path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
13
- </svg>
14
- </span>
15
-
16
- <div class="trigger">
17
- {% for my_page in site.pages %}
18
- <!--
19
- my_page.autogen is populated by the pagination logic for all pages
20
- that are automatically created by the gem. Check for non-existence to exclude pagination pages from site.pages iterators
21
- -->
22
- {% if my_page.title and my_page.autogen == nil %}
23
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24
- {% endif %}
25
- {% endfor %}
26
- </div>
27
- </nav>
28
-
29
- </div>
30
-
31
- </header>
@@ -1,52 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
- <!-- Just some nice to have styles for the pager buttons -->
5
- <style>
6
- ul.pager { text-align: center; list-style: none; }
7
- ul.pager li {display: inline;border: 1px solid black; padding: 10px; margin: 5px;}
8
- </style>
9
-
10
- <div class="home">
11
-
12
- <h1 class="page-heading">Posts</h1>
13
-
14
- {{ content }}
15
-
16
- <ul class="post-list">
17
- <!--
18
- Here is the main paginator logic called.
19
- All calls to site.posts should be replaced by paginator.posts
20
- -->
21
- {% for post in paginator.posts %}
22
- <li>
23
- <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
24
-
25
- <h2>
26
- <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
27
- </h2>
28
- </li>
29
- {% endfor %}
30
- </ul>
31
-
32
- <!--
33
- Showing buttons to move to the next and to the previous list of posts (pager buttons).
34
- -->
35
- {% if paginator.total_pages > 1 %}
36
- <ul class="pager">
37
- {% if paginator.previous_page %}
38
- <li class="previous">
39
- <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Newer Posts</a>
40
- </li>
41
- {% endif %}
42
- {% if paginator.next_page %}
43
- <li class="next">
44
- <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts &rarr;</a>
45
- </li>
46
- {% endif %}
47
- </ul>
48
- {% endif %}
49
-
50
- <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
51
-
52
- </div>
@@ -1,32 +0,0 @@
1
- ---
2
- layout: post
3
- title: "Welcome to Jekyll Paginate V2!"
4
- date: 2016-10-27 19:16:49 +0100
5
- ---
6
- You’ll find this post in your `_posts` directory. This post along with all of the other example posts is paginated by the new [jekyll-paginate-v2 gem](https://github.com/sverrirs/jekyll-paginate-v2).
7
-
8
- This pagination gem is built specially for Jekyll 3 and newer and is intended to replace the now discontinuted jekyll-paginate gem.
9
-
10
- This v2 of the gem offers full backwards compatibility with the old gem and its site configuration. You can simply replace the old jekyll-paginate gem with this one and your sites will still work without any changes.
11
-
12
- However to access the new enhanced features of this gem, like pagination on categories, tags and locales, then you need to remove the old jekyll-paginate configuration and activate the new `pagination:` [site configuration](https://github.com/sverrirs/jekyll-paginate-v2#site-configuration).
13
-
14
- The [source code](https://github.com/sverrirs/jekyll-paginate-v2/tree/master/examples) for this example project will show you all the necessary steps.
15
-
16
- ## Installing
17
-
18
- Go ahead and install the latest version of the gem from [rubygems.org](https://rubygems.org/gems/jekyll-paginate-v2)
19
-
20
- ```
21
- gem install jekyll-paginate-v2
22
- ```
23
-
24
- Replace the `jekyll-paginate` gem with `jekyll-paginate-v2` in both your `_config.yml` and your `Gemfile`.
25
-
26
- Now go ahead and re-build your site to start running the new pagination logic. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
27
-
28
- Please see the [GitHub repo](https://github.com/sverrirs/jekyll-paginate-v2) to learn how to get the most out of this new pagination gem. There we also discuss the gems more advanced features.
29
-
30
- Please file all bugs/feature requests in the issues section of the [GitHub repo](https://github.com/sverrirs/jekyll-paginate-v2/issues).
31
-
32
- Have a great day :)
@@ -1,15 +0,0 @@
1
- ---
2
- layout: page
3
- title: About
4
- permalink: /about/
5
- ---
6
-
7
- This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
8
-
9
- You can find the source code for the Jekyll new theme at:
10
- {% include icon-github.html username="jekyll" %} /
11
- [minima](https://github.com/jekyll/minima)
12
-
13
- You can find the source code for Jekyll at
14
- {% include icon-github.html username="jekyll" %} /
15
- [jekyll](https://github.com/jekyll/jekyll)
@@ -1,13 +0,0 @@
1
- ---
2
- layout: post
3
- title: Porsche 918 Spyder
4
- date: 2016-10-18 19:16:49 +0100
5
- categories: cars, grand touring, Porsche, sports car
6
- ---
7
- _From Wikipedia, the free encyclopedia_
8
-
9
- The Porsche 918 Spyder is a mid-engined plug-in hybrid sports car by Porsche.[3] The Spyder is powered by a naturally aspirated 4.6-litre V8 engine, developing 608 metric horsepower (447 kW), with two electric motors delivering an additional 279 metric horsepower (205 kW) for a combined output of 887 metric horsepower (652 kW). The 918 Spyder's 6.8 kWh lithium-ion battery pack delivers an all-electric range of 19 km (12 mi) under EPA's five-cycle tests.[1] The car has a top speed of around 340 km/h (210 mph).[4]
10
-
11
- The 918 Spyder is a limited edition Hypercar, with 918 units manufactured and sold as a 2014 model year. Production began on September 18, 2013, with deliveries initially scheduled to begin in December 2013.[5][6] The starting price was US$847,000.[4] The 918 Spyder was sold out in December 2014. The country with the most orders was the United States with 294 units.[7][8] Canada ordered 35 units.[9] Production ended in June 2015.[10]
12
-
13
- The 918 Spyder was first shown as a concept at the 80th Geneva Motor Show in March 2010.[5] The production version was unveiled at the September 2013 Frankfurt Motor Show.[11] Porsche also unveiled the RSR racing variant of the 918 at the 2011 North American International Auto Show, which combines hybrid technology first used in the 997 GT3 R Hybrid, with styling from the 918 Spyder.[12] The 918 Spyder was the second plug-in hybrid car from Porsche, after the 2014 Panamera S E-Hybrid.[13]
@@ -1,12 +0,0 @@
1
- ---
2
- layout: post
3
- title: Porsche 964
4
- date: 2016-10-19 19:16:49 +0100
5
- categories: cars, grand touring, Porsche, sports car
6
- ---
7
- _From Wikipedia, the free encyclopedia_
8
-
9
- The Porsche 964 is the company's internal name for the Porsche 911 manufactured and sold between 1989 and 1994. Designed by Benjamin Dimson through January 1986, it featured significant styling revisions over previous 911 models, most prominently the more integrated bumpers. It was the first generation 911 to be offered with Porsche's optional Tiptronic automatic transmission and all wheel drive as options.
10
-
11
- ## Carrera 2 and 4
12
- The 964 was considered to be 85% new as compared to its predecessor, the Carrera 3.2. The first 964s available in 1989 were all wheel drive equipped "Carrera 4" models; Porsche added the rear wheel drive Carrera 2 variant to the range in 1990. Both variants were available as a coupe, Targa or Cabriolet. The 964 Carrera was the last generation sold with the traditional removable Targa roof until the 2011 991 (993, 996, and 997 versions used instead a complex glass-roof "greenhouse" system). A new naturally aspirated engine called the M64 was used for 964 models, with a flat-6 displacement of 3.6 litres. Porsche substantially revised the suspension, replacing torsion bars with coil springs and shock absorbers.[2] Power steering and ABS brakes were added to the 911 for the first time; both were standard. The exterior bumpers and fog lamps became flush with the car for better aerodynamics. A new electric rear spoiler raised at speeds above 50 mph (80 km/h) and lowered down flush with the rear engine lid at lower speeds. A revised interior featured standard dual airbags beginning in 1990 for all North American production cars. A new automatic climate control system provided improved heating and cooling. Revised instrumentation housed a large set of warning lights that were tied into the car's central warning system, alerting the driver to a possible problem or malfunction.
@@ -1,13 +0,0 @@
1
- ---
2
- layout: post
3
- title: Porsche 911 GT3
4
- date: 2016-10-20 19:16:49 +0100
5
- categories: cars, grand touring, Porsche, sports car
6
- ---
7
- _From Wikipedia, the free encyclopedia_
8
-
9
- The Porsche 911 GT3 is a high performance version of the Porsche 911 sports car primarily intended for racing. It is a line of high-performance models, which began with the 1973 911 Carrera RS. The GT3 is named after the Fédération Internationale de l'Automobile (FIA) Group GT3 class in which it was designed to compete.
10
-
11
- A number of variations, designed for road and track duty, have been introduced since its launch in 1999. More than 14,000 911 GT3 cars have been produced.
12
-
13
- The GT3 has had a successful racing career in the one-make national Porsche Carrera Cup series, and the international Porsche Supercup. It has won championship and endurance races, including the GT class of the American Le Mans Series seven times, first overall in the 24 Hours of Daytona, and first overall at the 24 Hours Nürburgring six times.
@@ -1,13 +0,0 @@
1
- ---
2
- layout: post
3
- title: Porsche 911
4
- date: 2016-10-21 19:16:49 +0100
5
- categories: cars, grand touring, sports car, Porsche
6
- ---
7
- _From Wikipedia, the free encyclopedia_
8
-
9
- The Porsche 911 (pronounced Nine Eleven or German: Neunelf) is a two-door, 2+2 high performance sports car made since 1963 by Porsche AG of Stuttgart, Germany. It has a rear-mounted six cylinder boxer engine and all round independent suspension. It has undergone continuous development, though the basic concept has remained little changed.[2] The engines were air-cooled until the introduction of the Type 996 in 1998, with Porsche's "993" series, produced in model years 1994-1998, being the last of the air-cooled Porsches.[3][4]
10
-
11
- The 911 has been modified by private teams and by the factory itself for racing, rallying, and other forms of automotive competition. It is among the most successful competition cars. In the mid-1970s, naturally aspirated 911 Carrera RSRs won major world championship sports car races such as Targa Florio, Daytona, Sebring, and Nürburgring, even against prototypes. The 911-derived 935 turbo also won the 24 Hours of Le Mans in 1979.
12
-
13
- In the 1999 international poll for the award of Car of the Century, the 911 came fifth.[5] It is one of two in the top five that had remained continuously in production (the original Beetle remained in production until 2003),[6] and was until 1998 a successful surviving application of the air- (now water-) cooled opposed rear-engine layout pioneered by its ancestor, the Volkswagen Beetle. It is one of the oldest sports coupé nameplates still in production, and 820,000 had been sold by the car's 50th anniversary in 2013.[7] "Around 150,000 911 cars from the model years 1964 to 1989 are still on the road today."[8]
@@ -1,18 +0,0 @@
1
- ---
2
- layout: post
3
- title: Porsche 962
4
- date: 2016-10-24 19:16:49 +0100
5
- categories: cars, prototype, sports car, Porsche
6
- ---
7
- _From Wikipedia, the free encyclopedia_
8
-
9
- The Porsche 962 (also known as the 962C in its Group C form) is a sports-prototype racing car built by Porsche as a replacement for the 956 and designed mainly to comply with IMSA's GTP regulations, although it would later compete in the European Group C formula as the 956 had. The 962 was introduced at the end of 1984, from which it quickly became successful through private owners while having a remarkably long-lived career, with some examples still proving competitive into the mid-1990s.
10
-
11
- ## Development
12
- When the Porsche 956 was developed in late 1981, the intention of Porsche was to run the car in both the World Sportscar Championship and the North American IMSA GTP Championship. However IMSA GTP regulations differed from Group C and subsequently the 956 was banned in the US series on safety grounds as the driver's feet were ahead of the front axle center line.
13
-
14
- To make the 956 eligible under the new IMSA regulations, Porsche extended the 956's wheelbase to move the front wheels ahead of the pedal box.[1] A steel roll cage was also integrated into the new aluminium chassis. For an engine, the Porsche 934-derived Type-935 2.8L flat-6 was used with air cooling and a single Kühnle, Kopp und Kausch AG K36 turbocharger instead of the twin K27 turbochargers of the Group C 956, as twin-turbo systems were not allowed in IMSA's GTP class at the time.
15
-
16
- The newer Andial built 3.2L fuel injected flat-6 would be placed in the 962 by the middle of 1985 for IMSA GT, which made the car more competitive against Jaguar. However it would not be until 1986 that the 2.6L unit from the 956 was replaced in the World Sportscar Championship, using 2.8L, 3.0L, and 3.2L variants with dual turbochargers. The cars run under World Sportscar Championship regulations were designated as 962C to separate them from their IMSA GTP counterparts. The 3.2L unit, which had been eligible under IMSA's Group 3 engine rules, was banned by IMSA in 1987.[2] In 1988, to counteract against the factory Nissans and the threat of withdrawal from Porsche teams, water-cooled twin-turbo Porsche engines would be allowed back but with 36 mm restrictors.[2]
17
-
18
- In total, Porsche would produce 91 962s between 1984 and 1991. 16 were officially used by the factory team, while 75 were sold to customers. Some 956s were rebuilt as 962s, with two being previously written off and four others simply rebuilt. Three 962s that were badly damaged were also rebuilt had been given a new chassis number due to the extensive reconstruction.[3][4][original research?] Due to the high demand for 962 parts, some aluminium chassis were built by Fabcar in the United States before being shipped to Germany for completion. Derek Bell, a 5-time Le Mans winner, drove the 962 to 21 victories between 1985 and 1987, remarked that it was "a fabulous car, but considering how thorough (Norbert) Singer (the designer of the 962 and head of Porsche's motorsport division at the time) and the team were, it was really quite easy to drive." [5]
@@ -1,20 +0,0 @@
1
- ---
2
- layout: post
3
- title: Toyota GT-One
4
- date: 2016-10-24 19:16:49 +0100
5
- categories: cars, prototype, sports car, toyota
6
- ---
7
- _From Wikipedia, the free encyclopedia_
8
-
9
- The Toyota GT-One (model code TS020) is a racing car initially developed for grand touring GT1 rules, but later adapted into a Le Mans prototype LMGTP car. It raced in the 1998 and 1999 24 Hours of Le Mans. It is well known for being the fastest racing car to compete at Le Mans, with a top speed of approximately 420 km/h. Its road equivalent, built for homologation reasons, also bears a similar speed.
10
-
11
- ## History
12
- Following the end of the Group C era around 1994, Toyota decided to alter its plans in sports car racing by moving to the production-based GT classes for 1995. Toyota decided to approach this in two ways by using two different styles of car for competition. The first was a heavily modified Toyota Supra, referred to as the Supra LM, which would use a turbocharged 3S-GT (503E) inline-4. The second entry was a custom built car designed specifically to be a racing car, yet required a small number of production cars for sale in order to meet homologation regulations. This car was modified heavily from the Toyota MR2, and became known as the SARD MC8-R. The MC8-R would use a custom built Toyota turbocharged V8. While the Supra performed admirably in 1995, the MC8-R would appear superior for 1996. With development of high powered supercars for the GT classes at the time, Toyota decided that a car similar to the MC8-R, which was intended as a race car first, would be better suited to continuing Toyota's development of a GT car. Thus Toyota announced they would skip the 1997 24 Hours of Le Mans to be able to develop their new GT car for 1998.
13
-
14
- Turning to Toyota's European arm based in Cologne, Germany, Toyota Team Europe (TTE) and Dallara were charged with development of the new GT car. With taking the one-year hiatus, TTE was able to look at what the competition was developing for the GT class, and exploit it to their benefit. In 1997, both the Mercedes-Benz CLK GTR and the Porsche 911 GT1 were dominant cars in their class that exploited loopholes in the rules in place at the time. Each car was a custom built super car of which only a small handful of production cars were built to homologate it. TTE realized that they would actually only need to build a single production car in order to meet homologation regulations, thus allowing TTE to have a car that would never truly be sold to a customer, meaning that any driver luxuries could be left out.
15
-
16
- Second, Toyota learned about a loophole which Mercedes-Benz had exploited. All GT based cars were required to have storage space, capable of holding a standard sized suitcase, in order for the car to be considered not only production based, but usable by the public. Mercedes exploited this by putting a small cubby hole into an unused area underneath the rear bodywork, although it was not as easy to access as a normal trunk. Toyota, in their interpretation of the rules, were able to convince Automobile Club de l'Ouest (ACO) officials that the car's fuel tank, normally empty when the car is scrutineered before the race, was allowable as a trunk space since it could, theoretically, hold a suitcase.
17
-
18
- With these loopholes in place, TTE was able to set out in laying-out the GT-One. TTE designed and manufactured the car's carbon fiber chassis and bodywork in-house, while Toyota supplied a heavily upgraded version of the engine they originally used on their Group C cars, the R36V 3.6 L Turbo V8.
19
-
20
- TTE also developed the only two GT-One road cars built, required in order for the race car to qualify as a road car-based Grand Tourer. They were painted red and fitted with a basic interior. One was put into a museum in Japan, the other is displayed at Toyota Motorsport GmbH in Cologne, Germany.