@trevorparsons
send a reply
10 years, 6 months ago
@sf-micz
Snippet:
[
Context]
just demoing the sending of snippets
The reader sees the results of your live-blogging work as a timeline on your website, with the latest items at the top. New items appear immediately, without needing to refresh the page.
@danieljames
send a reply
10 years, 6 months ago
@sf-micz
Snippet:
[
Context]
Is this meant to be here:
Yes!
@sf-micz
send a reply
10 years, 6 months ago
@danieljames
Snippet:
[
Context]
Is this meant to be here:
This is a new first paragraph new first paragraph new first paragraph
@trevorparsons
send a reply
10 years, 6 months ago
@sf-micz Thanks!
Snippet:
[
Context]
I think this is fine.
Live Blog presents two different interfaces: one for the reader, and one for the journalist.
@sf-micz
send a reply
10 years, 6 months ago
@trevorparsons
Snippet:
[
Context]
I think this is fine.
Live Blog presents two different interfaces: one for the reader, and one for the journalist.
@sf-micz
send a reply
10 years, 6 months ago
@trevorparsons
Snippet:
[
Context]
I think this is fine.
Live Blog presents two different interfaces: one for the reader, and one for the journalist.
@sf-micz
send a reply
10 years, 6 months ago
@trevorparsons
Snippet:
[
Context]
Is this meant to be here:
This is a new first paragraph new first paragraph new first paragraph
@sf-micz
send a reply
10 years, 6 months ago
@trevorparsons
Snippet:
[
Context]
Is this meant to be here:
This is a new first paragraph new first paragraph new first paragraph
@trevorparsons
send a reply
10 years, 6 months ago
@sf-micz
Snippet:
[
Context]
Isn't this rather a short first paragraph?
Live Blog presents two different interfaces: one for the reader, and one for the journalist.
@sf-micz
send a reply
10 years, 6 months ago
@trevorparsons
Snippet:
[
Context]
Is this meant to be here:
This is a new first paragraph new first paragraph new first paragraph
@Flowdeeps
send a reply
11 years, 6 months ago
@sf-micz
Snippet:
[
Context]
Letting Bots see content behind your paywall
Setting up your site to allow access to your subsrciber content is simple with browser detection. As we're only looking for two results, whether the viewer is a bot or a paying customer, we've wrapped both of the requests into a single if statement with the or operator "||". If the detection fails on either count this snippet drops the client to
{{ if $gimme->browser->ua_type == "bot" || $gimme->article->content_accessible }}
<h2>{{ $gimme->article->title}}</h2>
<div>{{ $gimme->article->full_text }}</div>
{{ else }}
<p>You are not authorised to view this article. Please consider paying for a subscription.</p>
{{ /if }}
@sf-micz
send a reply
11 years, 6 months ago
@ljubar
Snippet:
[
Context]
Inside "sites in multiple languages" this code needs to be updated to work with "nonstatic" files / themes:
<ul> {{ list_languages of_publication="true" }} <li style="background: transparent url(http://{{ $gimme->publication->site }}/templates/_img/flags/{{ $gimme->language->code }}.png) no-repeat 5px center"> <a href="{{ url }}/">{{ $gimme->language->name }}</a> </li> {{ /list_languages }} </ul>
@sf-micz
send a reply
11 years, 6 months ago
@ljubar
Snippet:
[
Context]
Does this sound right to you?
Like every good cookbook, this book has lots of good recipes, ideas and tips for creating online publications with good taste, and which taste good too. And, like every good cook, there are a few utensils and ingredients you should have in your kitchen and ready to go. This manual will provide you with enough advice and code examples to get a high-quality site up and running with Newscoop.