Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
继续问问题
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Smith Bill  
View profile   Translate to Translated (View Original)
 More options Jun 18, 5:15 am
From: Smith Bill <sleepingl...@gmail.com>
Date: Thu, 18 Jun 2009 02:15:05 -0700 (PDT)
Local: Thurs, Jun 18 2009 5:15 am
Subject: 继续问问题
有没有办法定义新的文章类型,比如……唔,现在好像只有journal和tiddler两种文章(?)。
我希望定义新文章类型article,它可能包括一些新的域,有新的格式,当然也会有相应的新editor,但不与原有的tiddler及其
editor冲突(即原有的tiddler仍然可用,不受影响)。

有可能么?如何做呢?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 18, 5:25 am
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Thu, 18 Jun 2009 02:25:08 -0700 (PDT)
Local: Thurs, Jun 18 2009 5:25 am
Subject: Re: 继续问问题
貌似不行,不过可以设置 预写入内容。
其实 joumal和Tiddler 两者无太大差别,前者是预设好的,后者并无预设。
如果你想增加可以自定义预设置内容。

或者你直接在源代码中添加,可寻找上诉两者源码结合修改下。
上次找图片源码的时候记得有找到过,但是忘记标记了,那天找到了在发腻~

吾记得是设置<<newTiddler>>吧
这是系统的 条目和日志 调用宏
<<newTiddler>>
<<newJournal " YYYY年0MM月0DD日" "日志">>

就按照日志的格式设置即可
例如:<<newTiddler "标签名称">>

On 6月18日, 下午5时15分, Smith Bill <sleepingl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BramChen  
View profile   Translate to Translated (View Original)
(2 users)  More options Jun 18, 9:52 pm
From: BramChen <bram.c...@gmail.com>
Date: Fri, 19 Jun 2009 09:52:42 +0800
Local: Thurs, Jun 18 2009 9:52 pm
Subject: Re: 继续问问题

簡單的應用,只需使用內建的 <<newTiddler>> 配合自定的
ArticleViewTemplate、ArticleEditTemplate、以及自定欄位....
例如:
<<newTiddler
 label:"new article"
 title:"new article"
 text:"" fields:"summary:'test article'"
 tag:"articles"
 template:ArticleEditTemplate>>

說明:
須先宣告 ArticleEditTemplate:
例如:新增 tiddler, title為 myConfig,標籤為 systemConfig (如一般套件),內文為:
config.tiddlerTemplates[3] = "ArticleEditTemplate";

(附圖 1)

複雜一點的應用,須另行撰寫一些 scripts 或配合既有之套件。

  (附圖 2)

Bram Chen
Website: http://ptw.sf.net/

2009/6/18 Smith Bill <sleepingl...@gmail.com>

  article1.png
39K Download

  article2.png
86K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "能否定义新的文章类型" by BramChen
BramChen  
View profile   Translate to Translated (View Original)
 More options Jun 18, 10:01 pm
From: BramChen <Bram.C...@gmail.com>
Date: Thu, 18 Jun 2009 19:01:26 -0700 (PDT)
Local: Thurs, Jun 18 2009 10:01 pm
Subject: Re:能否定义新的文章类型
相關討論:
http://groups.google.com/group/TiddlyWiki-zh/browse_thread/thread/b94...

On Jun 19, 9:52 am, BramChen <bram.c...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Smith Bill  
View profile   Translate to Translated (View Original)
 More options Jun 18, 11:46 pm
From: Smith Bill <sleepingl...@gmail.com>
Date: Thu, 18 Jun 2009 20:46:04 -0700 (PDT)
Local: Thurs, Jun 18 2009 11:46 pm
Subject: Re: 能否定义新的文章类型
谢谢BramChen和Saran。

BTW:问个不相关的问题,你们说的"巨集",是台湾的专业词汇吧,大陆这边对应的是什么词呢?我看得晕晕的说

On 6月19日, 上午10时01分, BramChen <Bram.C...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "继续问问题" by ~She.Saran~
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 19, 12:36 am
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Thu, 18 Jun 2009 21:36:05 -0700 (PDT)
Local: Fri, Jun 19 2009 12:36 am
Subject: Re: 继续问问题
请问 article2.png 图中是如何设置的,能不能上传个tw 学习下。

On 6月19日, 上午9时52分, BramChen <bram.c...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "能否定义新的文章类型" by BramChen
BramChen  
View profile   Translate to Translated (View Original)
 More options Jun 19, 1:32 am
From: BramChen <Bram.C...@gmail.com>
Date: Thu, 18 Jun 2009 22:32:47 -0700 (PDT)
Local: Fri, Jun 19 2009 1:32 am
Subject: Re: 能否定义新的文章类型

> BTW:问个不相关的问题,你们说的"巨集",是台湾的专业词汇吧,大陆这边对应的是什么词呢?我看得晕晕的说

"宏"

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 19, 2:35 am
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Thu, 18 Jun 2009 23:35:58 -0700 (PDT)
Local: Fri, Jun 19 2009 2:35 am
Subject: Re: 能否定义新的文章类型
巨集不是台湾那边对“宏”的用词吗?

其实吾也晕晕的。
Plugin:貌似有用“宏”、“插件”“巨集”

On 6月19日, 下午1時32分, BramChen <Bram.C...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "继续问问题" by BramChen
BramChen  
View profile   Translate to Translated (View Original)
(1 user)  More options Jun 19, 2:45 am
From: BramChen <Bram.C...@gmail.com>
Date: Thu, 18 Jun 2009 23:45:12 -0700 (PDT)
Local: Fri, Jun 19 2009 2:45 am
Subject: Re: 继续问问题

On Jun 19, 12:36 pm, "~She.Saran~" <she.sa...@gmail.com> wrote:

> 请问 article2.png 图中是如何设置的,能不能上传个tw 学习下。

安裝 Udo Borkowski 的套件:
http://tiddlywiki.abego-software.de/#DataTiddlerPlugin

http://tiddlywiki.abego-software.de/#FormTiddlerPlugin

http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin

以及 Simon Baird 的套件:
http://mptw2.tiddlyspot.com/#RunMacroIfTagged

資料及表單依你實際的需求去設置。
有問題的話,再討論。


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 19, 2:52 am
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Thu, 18 Jun 2009 23:52:34 -0700 (PDT)
Local: Fri, Jun 19 2009 2:52 am
Subject: Re: 继续问问题
太谢谢了。

On 6月19日, 下午2時45分, BramChen <Bram.C...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "能否定义新的文章类型" by BramChen
BramChen  
View profile   Translate to Translated (View Original)
(1 user)  More options Jun 19, 3:43 am
From: BramChen <bram.c...@gmail.com>
Date: Fri, 19 Jun 2009 15:43:58 +0800
Local: Fri, Jun 19 2009 3:43 am
Subject: Re: 能否定义新的文章类型

廣義而言,
像 Martin Budden 的 SmileTimeLinePlugin、
我改自 Tim 的 CommentPlugin,
這些也是「自(特)定文章类型」的實現。

(見附圖)

> 有可能么?

可。

> 如何做呢?

不同的應用,作法也不儘相同。
你得進一步描述需求。

Bram Chen
Website: http://ptw.sf.net/

2009/6/19 BramChen <bram.c...@gmail.com>

  smiletimeline.png
81K Download

  Comments.png
57K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 19, 3:49 am
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Fri, 19 Jun 2009 00:49:07 -0700 (PDT)
Local: Fri, Jun 19 2009 3:49 am
Subject: Re: 能否定义新的文章类型
    smiletimeline.png 中出现的插件居然能做到时间轴,这么强大的插件叫什么名字?
完全超乎想象啊~

提议:至大家
建议大家以后在讨论中将提及的插件多能罗列在讨论末端,方便大家寻找使用学习

On 6月19日, 下午3時43分, BramChen <bram.c...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Smith Bill  
View profile   Translate to Translated (View Original)
 More options Jun 23, 2:09 am
From: Smith Bill <sleepingl...@gmail.com>
Date: Mon, 22 Jun 2009 23:09:19 -0700 (PDT)
Local: Tues, Jun 23 2009 2:09 am
Subject: Re: 能否定义新的文章类型
O...M...G....

On 6月19日, 下午3时43分, BramChen <bram.c...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "继续问问题" by Smith Bill
Smith Bill  
View profile   Translate to Translated (View Original)
 More options Jun 23, 2:38 am
From: Smith Bill <sleepingl...@gmail.com>
Date: Mon, 22 Jun 2009 23:38:19 -0700 (PDT)
Local: Tues, Jun 23 2009 2:38 am
Subject: Re: 继续问问题
嗯……这个表单编辑的确实很好很强大……

On 6月19日, 下午2时45分, BramChen <Bram.C...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "能否定义新的文章类型" by BramChen
BramChen  
View profile   Translate to Translated (View Original)
 More options Jun 23, 11:46 pm
From: BramChen <Bram.C...@gmail.com>
Date: Tue, 23 Jun 2009 20:46:19 -0700 (PDT)
Local: Tues, Jun 23 2009 11:46 pm
Subject: Re: 能否定义新的文章类型
相關應用:
http://groups.google.com/group/TiddlyWiki-zh/browse_thread/thread/e2f...

以下連結,幾個內建巨集的簡介所呈現方式,即利用內建之 <<tiddler>> 與 tiddler slices ,模擬所謂的「文章类型」或「文
章範本」:
http://ptw.sourceforge.net/TiddlyWiki123.zh-Hant.html#%E5%85%A7%E5%BB...

上述網頁使用的選單,則延伸應用 <<newTiddler>>、<<tiddler>>、tiddler slices、theme,實作動態的文章
內容(MagicMenu、TopMenu),算是特殊的「文章类型」?

應用相同的技巧,也不難做出其他「文章类型」或「文章範本」的應用。
當然,動手做才能實現、完成諸多的「不可能」。

On 6月19日, 上午10時01分, BramChen <Bram.C...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google