Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

8/27/2005 6:21:41 AM
JimmySieben-71.96.139.38
8/27/2005 6:21:20 AM
JimmySieben-71.96.139.38
8/27/2005 6:16:26 AM
-71.96.139.38
8/27/2005 6:15:51 AM
-71.96.139.38
8/27/2005 6:13:30 AM
-71.96.139.38
List all versions List all versions

RSS feed for the FlexWiki namespace

Wiki Talk Discussion
.
Summary

Questions -- MikeSchinkel [2004-07-21]

Answer
TopicInfo.GetListProperty( <TopicName> ) returns an Array of Strings. See the example below: -- DerekLakin [2004-10-08]
Test
 @@
 topic.GetListProperty("Test").Collect
        { each | [ each, " | " ] }
 @@
One | Two | Three | Wibble | Wobble |
Answer
I can't see any way to get a TopicContext object from anything :S, but if it's the current topic you want then you can just use topic as in the above example. Note that this doesn't work in the Preview, but does when the page is saved. -- DerekLakin [2004-10-08]
Answer2
Question
Any idea when and if DavidOrnstein is going to stop by anytime soon? I certainly don't want to impose on him given the wonderful effort he's put into creating FlexWiki to this point, but I sure am anxious to get some of these questions answers, and to move WikiTalk foward! -- MikeSchinkel [2004-08-12]

Help!!! How to Test Strings?

I'm trying to figure out how to write a WikiTalk script that will go through all topics that have a property of "Blog:" and if the value starts with "http://" I want to display it. However, I cannot figure out how to get past the substring function. The follow displays ALL blogs properties:

 @@
 namespace.Topics.Select
 {  each | 
    each.HasProperty("Blog") 
 }.Collect
 { e | 
   [ "        * [", e.Name, "] -- ", e.GetProperty("Blog"), Newline ].ToString
 }
 @@

Then this one displays the first seven characters for each blog property.

 @@
 namespace.Topics.Select
 {  each | 
    each.HasProperty("Blog") 
 }.Collect
 { e | 
   [ "        * [", e.Name, "] -- ", e.GetProperty("Blog").Substring(0,7), Newline ].ToString
 }
 @@

But how do I get it to only output the blog when the blog property starts with "http://"?

Thanks in advance. This one is really stumping me.

-- MikeSchinkel [2004-07-17]

How To Change Wiki Borders and Layout?

Implementation Reviews

Only Right Border

I implemented WikiTalk because I wanted to have only the right border (WikiPane Style). So I downloaded the experimental Update an installed it. It works properly. Anyway, I hacked around in the _NormalBorders for making my wish comes true. Here my Example _NormalBordersRightOnly. To try this out, you just have to make a _NormalBorders - Page for each Namespace, and insert the same content as linked above.

-- SimonSchmid

WikiTalk is great!

At work, we're using FlexWiki to synchronize our group's efforts and improve collaboration. We have a relatively small development group in a non-software manufacturing/engineering environment, and we're tracking bugs, projects and feature requests with it. That allows us to automatically cross-reference design decision discussions with feature requests, bugs with projects, brainstorming with its results, etc (All the benefits of WikiCollaboration). Now, with WikiTalk, I've been able to reduce the amount of redundant information in the Wiki by creating aggregated "views" of data that's been decorated with properties in a much more powerful and quickly customizable way than with the classic behaviors.

People in the group can create their own views of the data using very simple WikiTalk to track the issues they own in whatever way that makes them the most productive. We can also easily cut and paste the aggreagated views into reports to keep management informed.

At home, I'm just doing stuff for fun, but I'd like to unite by blog and wiki universe. The only things missing for that are namespace security and being able to generate my own RSS feeds from aggregated data, which I think WikiTalk could solve as well if you could use it to create RSS feeds. -- MarkMiller

*Can you please provide some examples of cross referencing?!? Thanks in advance. -- MikeSchinkel [2004-07-05]

Yes, I can, MikeSchinkel. See how by just talking about you, I've created a link that people can use to find out more about you? That's what I'm talking about. As long as you have established conventions for naming things, your body of knowledge in the Wiki is automatically cross-referenced. WikiTalk extends the usefulness of this by allowing you to dynamically aggregate data that's been "decorated" with properties. For instance, I can create a list of open bugs that I own with just a few lines of WikiTalk, and it automatically stays in sync with the data stored in the Wiki. It just allows you to actually get at the data that's in there. Now, if we can only get some things like string tests, date and number parsing etc, we'd be set. -- MarkMiller

Brainstorming WikiTalk Features

Let's try to riff on how WikiTalk can exploit WikiNature, not just mimic every other language we've ever seen.

These are nice ideas. After some discussion, they should get put on SuggestedEnhancements... -- DavidOrnstein

aTopic.Inlinks is exactly what I need! Also, it would be nice to be able to limit it by properties and/or page names (i.e. aTopic.InLinks("WikiTalk*")) -- MikeSchinkel [2004-07-05]

Traversing aids and algorithms

Disecting parts

Question
Has that ever made into any WikiTalk updates? Any other way to get RecentChanges via WikiTalk? -- MaxS 2.23.2005

A WikiTalk Function for aDate.Ago

I wrote a couple of WikiTalk functions to give this behavior:

OrdinalString
ConciseTimeSpanFormat
(Error: Unknown table formatting option: 1) Test Case Result Test Case Result Test Case Result
(0,0,0,0) 1 second (0,0,0,1) 1 second (0,0,0,2) 2 seconds
(0,0,1,3) 1 minute (0,0,2,3) 2 minutes (0,1,4,5) 1 hour
(0,2,4,5) 2 hours (1,3,4,5) 1 day (2,3,4,5) 2 days

For my uses I only needed second granularity; so a TimeSpanType with 0s and some number of ms gets rounded up to 1s.

-- JimmySieben [2005-08-27]

Unit Testing, Program understanding

Caching, Server variables

FlexWiki already does elaborate caching. See: FlexWikiCaching.

How To

Building tables with WikiTalk

Is there a way to add column headers to a table generated in WikiTalk? Following is the closest that I've come so far:

 ||Repository||Summary||Status||Location||
 @@namespace.Topics.Select
    { e | e.HasProperty("VSSStatus") }.Collect {
      e | ["||[", e.Name, "]||", 
      e.GetProperty("Summary"), "||",
      e.GetProperty("VSSStatus"), "||",
      e.GetProperty("Location"),"||",   Newline].ToOneString }
 @@

The headers are in a table by themselves and the generated table is another table. --DwayneNance

Update

I discovered a solution to the problem.

 @@["||Topic||Summary||", Newline, namespace.Topics.Select
 { e | e.HasProperty("ToDo") }.Collect {
   e | ["||[", e.Name, "]||", e.GetProperty("ToDo"), "||", Newline].ToOneString }
 ].ToOneString
 @@

The above WikiTalk generates the following table. (I'm using the todo property instead of summary so a smaller table will be generated). I noticed that the property name is case sensitive.

Topic ToDo
EmoticonsActiveHere Dog Face is broken
FAQEditingAndFormatting Answer these questions
FlexWikiEngineDecoupling Where do behaviors fit in here? Maybe we need an entry in the config to allow adding of new behaviors?
ToDoProperty this works
UweThomas do2
WikiTalkQuestions thing one, thing two, thing three

--DwayneNance

Q:[ How do you perform comparisons? I'm trying to create a list of recent changes and I imagine the code would look something like:

 namespace.Topics.Select
 {
    each | each.LastModified > DateTime.Today
 }.Collect
 {
    each | ["        * " , each, Newline,].ToOneString
 }


But the > is causing issues. I've never programmed SmallTalk or WikiTalk to maybe its a mindset... -- JamesSnape [2004-07-25]

]

A: James - I don't think WikiTalk currently can perform comparisions. I don't think it has an expression evaluator. I've been trying to implement comparisons for about 2 weeks, but DavidOrnstein doesn't appear to be around, and I haven't felt like bugging him in email yet. (P.S. Please date your questions and comments to in the future give others a sense of when questions were asked.) Also, is your site public, and if so, what's the URL? -- MikeSchinkel [2004-07-25]

Question
Question
Can you have temporary variables in WikiTalk. For example, I am trying to read a property using the member function GetProperty. I would like to store that value in a temporary varible so I could use the value in subsequent statements. -- Ken [2004-10-27]
Question
How to get all the instances of the same property on one page? E.g. I can have a couple of ToDo properties on the same page and I want to display all of them. GetProperty returns just the last one. Thanks! - Adrian Vinca [2004 - 11 - 12]
Question
Question

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics