raamdev / independent-publisher

A beautiful reader-focused WordPress theme, for you.
http://independentpublisher.me
GNU General Public License v3.0
458 stars 106 forks source link

Excerpt Shows Image Caption #43

Closed manishsuwal closed 10 years ago

manishsuwal commented 10 years ago

I usually post an image before writing blog post. The 'one-line excerpt' and 'default excerpt' both displayed my image caption before displaying the blog post excerpt.

For example: I have 'Time Boxing' blog post with a captioned image -> 'Time Boxing Clock that I use on Kitchen' screen shot 2014-01-02 at 9 34 03 am

The one-line excerpt displays the caption screen shot 2014-01-02 at 9 32 20 am

@raamdev

raamdev commented 10 years ago

Bug confirmed. Working on this now.

raamdev commented 10 years ago

Fixed as of https://github.com/raamdev/independent-publisher/commit/719bcc30ecb7ce8ef49e062b89b537effeacadbc. @manishsuwal Could you please update and test for me?

manishsuwal commented 10 years ago

It worked for some articles @raamdev. But didn't for some. It showed codes for some articles. For example: screen shot 2014-01-05 at 11 36 47 am

manishsuwal commented 10 years ago

Most of my blog posts are displaying codes in the home page: screen shot 2014-01-05 at 11 41 29 am

manishsuwal commented 10 years ago

Did you figure out the problem for this bug @raamdev?

I don't get codes for some post, but I do get for some posts. I don't know what's wrong. I even tried changing the caption. But the code still shows in the homepage.

screen shot 2014-01-17 at 8 32 18 am

raamdev commented 10 years ago

Could you please copy/paste the exact post content for that post? Please paste it into a code block so any white space is preserved. I'll get this fixed as soon as I can reproduce it! :)

manishsuwal commented 10 years ago

Could you please copy/paste the exact post content for that post?

Did you mean, copy/paste the exact post here on GitHub?

raamdev commented 10 years ago

Yes, please.

manishsuwal commented 10 years ago

screen shot 2014-01-05 at 11 41 29 am

Here's the copy/paste of the 'My Writing Workflow' blog post:

[caption id="attachment_1574" align="aligncenter" width="610"]<img class="size-full wp-image-1574" alt="Park Seat at UN Park. It would be a perfect place for writing." src="http://enwil.com/wp-content/uploads/2013/03/DSC_0039.jpg" width="610" height="404" /> Park Seat at UN Park. It would be a perfect place for writing.[/caption]

After trying numerous programs and adopting different workflows, I've come closer to figuring out my best work flow for writing. I've used many software, implemented many suggestions and tried different workflows. I was never comfortable with any workflows that other's recommended. It was partly because I had different writing behavior.

Everyone has different writing behavior just like how everybody has different set of values and perspective. We should always note that there isn't any grand writing workflow which works for everybody. It's just not possible when everybody has different way of writing. It's not like rational subject where 2 plus 2 equals 4.

Since, writing is a creative craft we need to deal with it in a creative matter. This also doesn't mean that there's a one for all solution writing software. I thought <a title="Scrivener Download Page" href="http://www.literatureandlatte.com/scrivener.php" target="_blank">Scrivener</a> was the best writing software for almost anything from play writing to novel to blog posts. But I've switched to <a title="ResophNotes Download Page (It's FREE)" href="http://www.resoph.com/ResophNotes/Welcome.html" target="_blank">ResophNotes</a> currently. It's not because ResophNotes is better than Scrivener, it's because ResophNotes has less clutter and is minimal compared to Scrivener. So, ResophNotes worked for me. It might not necessarily work for you.

First of all, I tried figuring out perfect software for writing. I researched and downloaded some text editor for writing. As it turned out I didn't write well at them. It was not because the text editor was bad, it was my mentality which made it impossible to write. I was convinced, some how, that a good text editor will make me write better. But my assumption was wrong. We can write even in a simple notepad if we have stuffs to write. We need to have a good creative energy, not a good text editor, even though it helps in a way. So, I figured out that I had wrong mindset. It doesn't matter where you write unless you use your creative force and write.

Some of the text editor I used are: <a title="Dark Room Download Page" href="http://download.cnet.com/Dark-Room/3000-2079_4-10562359.html" target="_blank">Dark Room</a>, <a title="Write Monkey" href="http://writemonkey.com/" target="_blank">Write Monkey</a>, <a title="Notepad ++" href="http://notepad-plus-plus.org/download/v6.3.1.html" target="_blank">Notepad++</a>, Scrivener,<a title="Zen Writer" href="http://www.beenokle.com/zenwriter.html" target="_blank"> Zen Writer</a>, <a title="Evernote" href="http://evernote.com/products/" target="_blank">Evernote</a> and ResophNotes. I first started writing on notepad because I didn't have any other text editor to write on. I developed this feeling that good text editor is a must for a good writer, but it didn't help because there was no difference in my writing even after switching to numerous other text editor. I started searching for text-editor and I found Dark Room for the first time. It was my default text-editor for some time but it didn't last long because I was not comfortable with it's interface. I wanted a text-editor where I could store and keep logs of my writing. I also didn't want very rich text editor, which would distract me. So I switched to Write Monkey and much to my dissappoitment, it had the same interface as that of Dark Room. I immediately deleted it.

Along the way, I was concerned about my writing. I was particularly concerned on what to write and how to write better. There was only one way to improve my writing, that was by writing a lot. Steven King also gives us the same advice, "If you want to be a writer, you must do two things above all others: read a lot and write a lot." So, I had to start writing, and it was no easy task. I needed to keep logs of all the post I had written and write for the blog. One reason why I love ResophNotes is because we can keep logs of all our writing at the left side of the screen and write at right side of the screen. It's convinient and minimal. Scrivener also has the same interface but lots of clutter. If I'd be writing a book then Scrivener would be the perfect choice. But for everyday writing and keeping logs of my posts, ResophNotes is the best.

I keep only the better posts worth publishing in ResophNotes, everything else is logged in Evernote. I use Evernote for archiving everything. Archiving my posts, my bookmarks, my finances, etc. It's good for a reason. I like to use stuffs which is good for some particular reason. For example: Evernote is good for archiving stuffs, ResophNotes for writing, Facebook for Social Networking, Youtube for Video. I've written something along those line sometime ago, called <a title="Good At One Thing" href="http://enwil.com/good/" target="_blank">Good at one thing</a>. Which means that there's a specific purpose for everything, and if we try to defy it's purpose then the outcome will be bad.

What I basically started to do was to write 750 words of free writing and then creating it a blog post. It didn't work because I wouldn't write more than 750 words two times a day. I would only have mind dumped 750 words free writing, which wasn't worth publishing on the blog. So, I had to think of something which would help me write a blog post along with 750 words. So, I started picking up a topic and writing 750 words about it. Sometimes it goes well, and sometimes I struggle to write. And now I don't force myself to write 750 words. It might end in 400 or 800. Anything is fine but I target 750.

Basically what I do is, I write 750 words and then log it. If it's worth publishing then I'll edit it or else I'll let it stay as it is. That's how I have been writing till now. May change it later since I'll be experimenting different stuffs that might work.
raamdev commented 10 years ago

@manishsuwal Thank you very much for reporting that bug. This has been fixed as of https://github.com/raamdev/independent-publisher/commit/f2b2e2d36bd91f91692330fa771ca7b6c3595c25. :)