Config

Font

map:primaryTopic a d2rq:PropertyBridge;
    d2rq:belongsToClassMap map:Paper;
    d2rq:property :primaryTopic;
    d2rq:refersToClassMap map:Topic;
    d2rq:join "Papers.PaperID = Rel_Paper_Topic.PaperID";
    d2rq:join "Rel_Paper_Topic.TopicID = Topics.TopicID";
    d2rq:condition "Rel_Paper_Topic.RelationType = 1".
map:secondaryTopic a d2rq:PropertyBridge;
    d2rq:belongsToClassMap map:Paper;
    d2rq:property :secondaryTopic;
    d2rq:refersToClassMap map:Topic;
    d2rq:join "Papers.PaperID = Rel_Paper_Topic.PaperID";
    d2rq:join "Rel_Paper_Topic.TopicID = Topics.TopicID";
    d2rq:condition "Rel_Paper_Topic.RelationType = 2".
while wikiword:
  #this will stop checking when there are no more start or end tags
  if checktag:
      #if wikiword.end() < checktag.start():
      checktag = re.search(r'[<>](/a>)?',content[startsearch+wikiword.end():])
      # if this is true, we are inside a tag  or inside an anchor
      # we need to not make a wikiword skip past this section
      if checktag and checktag.group() in ['>', '</a>']:
          wiki_content += content[startsearch:startsearch+checktag.end()]
          startsearch  += checktag.end()
          wikiword = wikiwords.search(content[startsearch:])
          continue
  if checkpre:
      #if wikiword.end() < checkpre.start():
      checkpre = re.search(r'<(/)?(pre|code|highlight)(\s[^>]*)?>',content[startsearch+wikiword.end():])
      # I've decided I don't like links being generated for preformatted text or codebolock
             if checkpre and checkpre.groups()[0]:
          wiki_content += content[startsearch:startsearch+checkpre.end()]
          startsearch  += checkpre.end()
          wikiword = wikiwords.search(content[startsearch:])
          continue

System Message: WARNING/2 (<string>, line 46)

malformed hyperlink target.

Need to switch to a monospaced font for text editing

Where is the end

Important

Really important

is this the end

There is more to say

Note

But I'll say it in a note

OK

Return to the FrontPage | Edit NewStuff | Title List