Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-04-03 03:24:16

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Developing a NewsPaper with Textpattern

Possibly useful from the weblog: <a href=“http://textpattern.com/weblog/98/daily-contents-with-txpif_different”>Daily Contents with txp:if_different</a>.

Just looking at that example, though, I’m not sure how the software decides which attribute is different. That is, how does it know that the post date is what’s relevant in that example?

Offline

#14 2006-04-03 13:18:12

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Developing a NewsPaper with Textpattern

Allright, wet helps worked very well to show daily content:

<code><txp:if_article_list> <txp:php>$dt = date (“Y-m-d”);echo article_custom(array(“form”=>“cover”, “month”=>($dt)));</txp:php>
<txp:else /> <txp:article />
</txp:if_article_list></code>

this shows ONLY TODAYs articles & news on the Frontpage.

Offline

#15 2006-04-04 14:24:28

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Developing a NewsPaper with Textpattern

Everything goes well.
Today I started to think and ask myself about the Write Textarea … personally I love the Alex King’s Quicktags that were turned into a TXP Plugin by Mary, but if we’re going to provide a write tool for people with limited knowledge (usually the kind of writers that I work with, just use MS Word and doesn’t know anything about HTML, XHTML, Tags, etc.) … wich option would be the best one?

  1. Lern Textile
  2. Use upm_quicktags
  3. Use hak_tinymce

in my opinion:

Textile is great but just for advanced users that would like to learn a new way of writing (it takes time)

upm_quicktags my favourite, but inserts code/tags into the post and Writers (or Journalists) could be confused about that, in the other hand it’s the lightweight option and it’s easy to modify and improve.

hak_tinymce I’ve just tested this today, it’s the most aproximately to MS Word but Im not sure about how well it works (there’s some strange behaviours when you click ‘Save’ or ‘Publish’). The code produced it’s not so bad …

What do you think? (remember: we’re talking about an small/medium newspaper on-line where writers are people with limited knowledge about coding)

Last edited by duchamp (2006-04-04 14:58:48)

Offline

#16 2006-04-04 15:53:47

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Developing a NewsPaper with Textpattern

When I began using TXP, I tried all the different plugins and settled on Textile.

I knew bbcode so the transition was somewhat easier. After about 20 articles I got the hang of it and I find it to be the fastest way to enter formatted text.

Unless you’re creating a fancy article, there’s only a handful of codes you really need to learn.

Offline

#17 2006-04-22 22:53:00

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Developing a NewsPaper with Textpattern

Everything is going well developing a Newspaper with Textpattern but a new Issue:

How to provide a WAP (WML) version of the last news?

My knowledge about WAP and WML is equal to zero! Where to start?
( while I’m writing this I found some info here: w3schools – WAP )
and what can we do with TXP and WAP?

Thx in advance!

Update: A good list of Tools:
Visual Tools for WAP

Last edited by duchamp (2006-04-23 00:30:29)

Offline

#18 2006-04-23 08:26:09

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,907
Website GitHub

Re: Developing a NewsPaper with Textpattern

duchamp, an even simpler method of doing the “urgent” message may be to use sticky articles for those and test for their existence on your homepage. I’ve used this for teaser boxes on a homepage so that the homepage owners can change around what their most important current topics are.


TXP Builders – finely-crafted code, design and txp

Offline

#19 2006-04-23 18:40:56

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Developing a NewsPaper with Textpattern

jakob wrote:

duchamp, an even simpler method of doing the “urgent” message may be to use sticky articles for those and test for their existence on your homepage. I’ve used this for teaser boxes on a homepage so that the homepage owners can change around what their most important current topics are.

You’re right jakob, that’s a logical method!
It’s better than using an special category, ‘cause you can archive that “urgent” notice under your normal categories and make it appear as an special news just changing its state. Thx

Offline

#20 2006-04-25 13:19:53

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Developing a NewsPaper with Textpattern

Another idea/question that is rounding my mind is if a “Desktop Publishing tool” (like Qumana or other Publishing tools ) could Help to the journalists to maintain the site updated … what do you think?
This people works mostly with MS Word to write their news and articles. Knowing this I started to look for the shortest and comfortable way to take that doc files to Textpattern … not sure yet! but maybe you can Help …

(Any other Desktop Publishing Tool that Works with Textpattern?)

Thx

PS: About the previous WAP question, I’m still learning and searching to know the way to have a WAP version taken from the articles published with TXP.

PS II: Ahora que sabés que con TXP podés hacerlo, ahora que acá encontraste el secreto sagrado, ahora … como siempre, vas a hacer todo al revés!

Last edited by duchamp (2006-05-26 19:58:56)

Offline

#21 2006-09-16 04:56:38

guitarman
Member
Registered: 2006-09-04
Posts: 14

Re: Developing a NewsPaper with Textpattern

Hi duchamp,

I’m working on a newspaper site too. However, since there is no content on sundays, I’m using the chh_if_data and chh_custom_article plugins. The code I’m using is
<code>
<txp:chh_if_data>
<txp:chh_article_custom section=“brief” listform=“brief_excerpt” time=”-1 day, -0 days” />
<txp:else />
<txp:chh_article_custom section=“brief” listform=“brief_excerpt” time=”-2 days, -0 days” />
</txp:chh_if_data>
</code>
The downside to this is that I am now unable to access a particular days articles through

http://www.sitename.com/year/month/day
or
http://www.sitename.com/year/month/

as it could earlier.

Any help would be appreciated.

Thanks

Offline

Board footer

Powered by FluxBB