Skip to content

Commit 73f40d4

Browse files
Improve ATOM feed generation (#10)
* [ADD] Improving ATOM feeds. Removing all the code which were generating pie chart using D3 lib. For generating correct ATOM feed, removing HTML code as a part of post body and coverting it to png image.
1 parent df5e3b9 commit 73f40d4

8 files changed

+31
-75
lines changed

_config.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: > # this means to ignore newlines until "baseurl:"
2121
my blog posts to identify my taste of writing.
2222
2323
baseurl: "" # the subpath of your site, e.g. /blog
24-
url: "" # the base hostname & protocol for your site, e.g. http://example.com
24+
url: "http://blog.jaysinh.com" # the base hostname & protocol for your site, e.g. http://example.com
2525
twitter_username: jaysinhp
2626
github_username: ultimatecoder
2727

@@ -35,3 +35,9 @@ exclude:
3535
- Gemfile.lock
3636

3737
google_analytics: UA-57792488-6
38+
defaults:
39+
-
40+
scope:
41+
path: ""
42+
values:
43+
author: "Jaysinh Shukla"

_posts/2016-12-30-book-review-i-want-2-do-project-tell-me-wat-2-do.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: post
33
categories: book review
44
title: Book review 'i want 2 do project tell me wat 2 do'
55
tag: books
6+
excerpt: Inspirational book for students who are at a fresher level.
67
---
78

89
![i_want_2_do_project_tell_me_wat_2_do]({{ site.url}}/assets/images/book_image_i_want_2_do_project_tell_me_wat_2_do.jpg)

_posts/2017-01-08-2016-a-year-dedicated-to-python-workshops.md

+6-74
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
layout: post
33
title: 2016 A year dedicated to Python Workshops
44
tag: pythonworkshop
5+
excerpt: >
6+
Beautiful 2017 has already started. While everybody is busy with preparing
7+
resolutions for their new year I decided to look back and share my journey
8+
here.
59
---
610

711
Beautiful 2017 has already started. While everybody is busy with preparing
@@ -13,80 +17,8 @@ took an oath to spread the word of Python. It was looking simple at first
1317
glance with a guess of getting less invitations. But the estimate went wrong.
1418
Below is the summary of yearly progress highlight with word of experience.
1519

16-
17-
<link rel="stylesheet" type="text/css" href="{{site.url}}/assets/css/nv.d3.min.css">
18-
19-
<style>
20-
#chart svg {
21-
height: 400px;
22-
}
23-
24-
svg: {
25-
display: block;
26-
}
27-
28-
svg text {
29-
font: normal 8px Impact;
30-
}
31-
32-
.center {
33-
text-align: center
34-
}
35-
36-
</style>
37-
38-
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.2/d3.min.js" charset="utf-8"></script>
39-
40-
<script src="{{ site.url }}/assets/js/nv.d3.min.js"></script>
41-
42-
<script>
43-
44-
function GetData() {
45-
return [
46-
{
47-
"label": "Introduction to Django",
48-
"value" : 1
49-
},
50-
{
51-
"label": "My name is Python and I am not terrorist",
52-
"value" : 1
53-
},
54-
{
55-
"label": "Beginning with Python",
56-
"value" : 2
57-
},
58-
{
59-
"label": "Let's learn Python",
60-
"value" : 5
61-
},
62-
{
63-
"label": "Token based authentication system using JWT",
64-
"value" : 4
65-
},
66-
];
67-
}
68-
69-
nv.addGraph(function() {
70-
var chart = nv.models.pieChart()
71-
.x(function(d) { return d.label })
72-
.y(function(d) { return d.value })
73-
.showLabels(true)
74-
.labelType("value");
75-
76-
d3.select("#chart svg")
77-
.datum(GetData())
78-
.transition().duration(350)
79-
.call(chart);
80-
81-
return chart;
82-
});
83-
84-
</script>
85-
86-
<div id="chart">
87-
<svg></svg>
88-
</div>
89-
20+
![Python workshop
21+
piechart]({{site.url}}/assets/images/python_workshop_piechart.png)
9022

9123
During my last year I conducted 13 workshops at various colleges of
9224
state Gujarat and Rajasthan. 10 workshops were conducted targeting college

_posts/2017-01-22-visit-to-linux-user-group-chennai.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
layout: post
33
title: Visit to Indian Linux User Group, Chennai
44
tag: ILUG-C
5+
excerpt: >
6+
Lately I was travelling to Chennai for some personal work. I was very clear on
7+
meeting Mr. Shakthi Kannan. While travelling to Chennai I dropped a mail
58
---
69

710
![Indian Linux User Group Chennai]({{site.url}}/assets/images/ilugc.jpg)

_posts/2017-02-28-book-review-introduction-to-the-commandline.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ layout: post
33
categories: book review
44
title: Book review 'Introduction to the Command Line'
55
tag: books linux programming
6+
excerpt: >
7+
Every chapter will introduce a bunch of comands and will point to its
8+
respective documentation for further learning. You should expect chapters
9+
describing from the grep command to GNU Octave which is a scientific
10+
programming language. The chapters are independent of each other.
611
---
712
![introduction_to_command_line]({{ site.url
813
}}/assets/images/book_image_introduction_to_the_commandline.jpg)

_posts/2017-03-14-pycon-pune-2017-a-wonderful-python-conference.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ layout: post
33
title: "Pycon Pune 2017: A wonderful Python conference"
44
date: "2017-03-14 18:18:02 +0530"
55
tag: python conference
6+
excerpt: >
7+
The conference is worth attending if you are a student, programmer or a
8+
hobbyist. If you are a swag-hungry then don't expect much as a swag from this
9+
conference. If you are a Devsprint lover, then this conference has the coolest
10+
Devsprint. A great number of keynote speakers are invited for this conference.
611
---
712

813
![pycon_pune_group_photo]({{

_posts/2017-04-10-goyo-doc-vim-helpfile-for-goyo-plugin.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
layout: post
33
title: "goyo-doc: Vim helpfile for goyo.vim plugin"
44
date: "2017-04-10 17:51:48 +0530"
5+
excerpt: >
6+
Goyo is the vim plugin which allows writers to focus on their writing while
7+
they are writing. The plugin deactivates not required fancy windows which are
8+
not useful at the time of using vim for writing. It provides certain
59
---
610

711
![goyo_doc_plugin]({{site.url}}/assets/images/goyo_doc_plugin.png)
29 KB
Loading

0 commit comments

Comments
 (0)