| 1 |
<html> |
<html> |
| 2 |
<head> |
<head> |
| 3 |
<title>joko's sample notes - 2003-01</title> |
<title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title> |
| 4 |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
| 5 |
</head> |
</head> |
| 6 |
<body> |
<body> |
| 7 |
|
|
| 8 |
|
|
| 9 |
<pre> |
<pre> |
| 10 |
|
|
| 11 |
|
|
| 12 |
|
AIMS: |
| 13 |
|
- Convert this document into a data-structure and back. |
| 14 |
|
- Don't loose a bit of information. |
| 15 |
|
- Make possible to link to all resources available. |
| 16 |
|
|
| 17 |
|
for working with it |
| 18 |
|
- global metadata |
| 19 |
|
- cvs-loginfo/commitinfo |
| 20 |
|
- ItemMetadata |
| 21 |
|
- ItemStatus (open, closed and stuff) |
| 22 |
|
- ItemAuthor |
| 23 |
|
- ItemType |
| 24 |
|
- ItemIdentifier |
| 25 |
|
- references/associations to/from |
| 26 |
|
- word metadata |
| 27 |
|
- link to target |
| 28 |
|
- show target as ... |
| 29 |
|
- overview of all gathered metadata (at the bottom) |
| 30 |
|
|
| 31 |
|
for rendering it |
| 32 |
|
- render <target> at <locator> as <that-type> [in <this-mode>] [to this <othertarget>] |
| 33 |
|
|
| 34 |
|
|
| 35 |
joko@netfrag.org - sample stack: |
joko@netfrag.org - sample stack: |
| 36 |
|
|
| 37 |
o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org) |
o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org) |
| 459 |
x /etc/init.d/apache reload |
x /etc/init.d/apache reload |
| 460 |
x test: http://news.netfrag.org/ |
x test: http://news.netfrag.org/ |
| 461 |
|
|
|
|
|
|
|
|
| 462 |
o new module for cvs-repository? |
o new module for cvs-repository? |
| 463 |
o nfo/layouts/fs/skel/data2 |
o nfo/layouts/fs/skel/data2 |
| 464 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
| 591 |
x sysadmin@netfrag.org |
x sysadmin@netfrag.org |
| 592 |
x faq@netfrag.org |
x faq@netfrag.org |
| 593 |
|
|
| 594 |
x setup newsportal (by Florian Amrhein) |
x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for! |
| 595 |
|
|
| 596 |
|
x --setup|*setting up*-- newsportal (by Florian Amrhein) |
| 597 |
x url: http://florian-amrhein.de/newsportal/ |
x url: http://florian-amrhein.de/newsportal/ |
| 598 |
x cd /home/service/download |
x cd /home/service/download |
| 599 |
x mkdir newsportal |
x mkdir newsportal |
| 636 |
o TODO: RefactorThisHtmlRef to WebNews |
o TODO: RefactorThisHtmlRef to WebNews |
| 637 |
o view message in some MimeViewer or HtmlViewer (Horde?) |
o view message in some MimeViewer or HtmlViewer (Horde?) |
| 638 |
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
| 639 |
|
x Why newsportal and no other? |
| 640 |
|
x directly connects to nntp-daemon |
| 641 |
x rework apache-layout - check into repository as something root is responsible for! |
x has local spool (o TODO: purge regularly?) |
| 642 |
|
x highly customizable |
| 643 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
| 644 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
| 645 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
| 646 |
|
o TODO: RefactorThisLink |
| 647 |
|
x it's just easy! |
| 648 |
|
x setup dispatchrequest for http://news.netfrag.org |
| 649 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
| 650 |
|
x create symlink |
| 651 |
|
x ./.symlinkrc |
| 652 |
|
x copy over from webcvs |
| 653 |
|
x cp ../webcvs/index.php . |
| 654 |
|
x mkdir .dispatch |
| 655 |
|
x cd .dispatch |
| 656 |
|
x cp ../webcvs/.dispatch/config.php . |
| 657 |
|
x cp ../webcvs/.dispatch/index.php . |
| 658 |
|
x cvs add ... |
| 659 |
|
x cvs commit ... |
| 660 |
|
x added|*adding* dispatcher at http://news.netfrag.org |
| 661 |
|
x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose |
| 662 |
|
o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor |
| 663 |
|
x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a> |
| 664 |
|
x tested http://cvs.netfrag.org/ - still working... |
| 665 |
|
o AddedFeatures to DispatchRequest: |
| 666 |
|
x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/ |
| 667 |
|
e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing |
| 668 |
|
o JumpToThread: NotYetImplemented! DoWeReallyNeedThis? |
| 669 |
|
o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org |
| 670 |
|
x JumpToArticle: http://news.netfrag.org/nfo.links.computing/id/44 |
| 671 |
|
e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing |
| 672 |
|
|
| 673 |
|
|
| 674 |
o NfoWeb |
o NfoWeb |
| 675 |
o add WikiPages: |
o add WikiPages: |
| 697 |
o IconForNetfrag.Org? |
o IconForNetfrag.Org? |
| 698 |
o fav.ico? |
o fav.ico? |
| 699 |
|
|
| 700 |
x install viewcvs |
x --*installed*|install-- viewcvs |
| 701 |
x apt-get install viewcvs |
x apt-get install viewcvs |
| 702 |
x configured: |
x configured: |
| 703 |
x /var/lib/cvs |
x /var/lib/cvs |
| 708 |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
| 709 |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
| 710 |
|
|
| 711 |
o rendering proposals for TaviWorkflow |
o rendering *proposals* for TaviWorkflow |
| 712 |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
| 713 |
o Coloring |
o Coloring |
| 714 |
o [o=red, x=green, R=red, r=green] |
o [o=red, x=green, R=red, r=green] |
| 715 |
|
|
| 716 |
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
| 717 |
|
|
| 718 |
x web-based newsreader? twig! |
x web-based newsreader? twig! |
| 719 |
x apt-get install twig |
x apt-get install twig |
| 1015 |
o look at YakkaDev! |
o look at YakkaDev! |
| 1016 |
|
|
| 1017 |
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
| 1018 |
|
o this could mean: |
| 1019 |
|
o use the declared formats as output filters for viewing target in other formats / styles |
| 1020 |
|
|
| 1021 |
o proposal for hierarchical structure (and HomePage) of netfrag.org |
o proposal for hierarchical structure (and HomePage) of netfrag.org |
| 1022 |
~overview -> SomeWiki -> Overview |
~overview -> SomeWiki -> Overview |
| 1063 |
|
|
| 1064 |
o mail announces to announce@netfrag.org |
o mail announces to announce@netfrag.org |
| 1065 |
|
|
| 1066 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
| 1067 |
|
|
| 1068 |
|
o MiniHowto: NfoLinkageSystem(->news.nfo.announce) |
| 1069 |
|
o this declaration could mean: |
| 1070 |
|
o UseResources: |
| 1071 |
|
o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver |
| 1072 |
|
o RenderThisWay: |
| 1073 |
|
o embed into document - html3 |
| 1074 |
|
o embed into document - dhtml (ExpandTree, CollapseTree) |
| 1075 |
|
o LinkToIt (JumpToMechanism(->minihowto)) |
| 1076 |
|
|
| 1077 |
|
o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords |
| 1078 |
|
according to specification in there |
| 1079 |
|
|
| 1080 |
|
o source-code parser which creates documentation with wiki techniques |
| 1081 |
|
o pod2tavi -> tavi2html |
| 1082 |
|
o phpDoc <- tavi-plugin? |
| 1083 |
|
|
| 1084 |
|
o integrate yakka and newsportal: |
| 1085 |
|
o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata) |
| 1086 |
|
o article-sources |
| 1087 |
|
o all items from one news-server |
| 1088 |
|
o !!! from different news-servers !!! |
| 1089 |
|
o add a "CommentThis"-links to each item when rendering |
| 1090 |
|
o when user posts the answer on YakkaEditPage |
| 1091 |
|
o make yakka post to the article's associated news-server (read from YakkaItemMetadata) |
| 1092 |
|
o wait until new article is published, then ... |
| 1093 |
|
o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon) |
| 1094 |
|
o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel) |
| 1095 |
|
which shows NewItems(->self, ->live) per thread or newsgroup |
| 1096 |
|
|
| 1097 |
|
o download this and that - e.g.: |
| 1098 |
|
o phpMyadmin(->archive.software.phpMyAdmin) |
| 1099 |
|
o this requires 'archive.software' to have ... |
| 1100 |
|
o ... a ListSearchHandler (searches nodelist below 'archive.software' only) |
| 1101 |
|
o ... a RecursiveSearchHandler (searches nodelist below 'archive.software' and all subfolders recursively) |
| 1102 |
|
o make this available as a ResourceHandler via a DispatchRequest sitting at |
| 1103 |
|
o http://netfrag.org/archive/?base=software&search=phpMyAdmin |
| 1104 |
|
o http://archive.netfrag.org/ |
| 1105 |
|
|
| 1106 |
|
x rename newsgroup nfo.csm to nfo.caesar (Collaborative And Easy System Management) |
| 1107 |
|
x ctlinnd newgroup nfo.caesar |
| 1108 |
|
x /etc/init.d/inn stop |
| 1109 |
|
x cd /var/spool/news/nfo |
| 1110 |
|
x cp csm/* caesar/ |
| 1111 |
|
x cd caesar |
| 1112 |
|
(x movearticle ...) |
| 1113 |
|
o chown news.news * |
| 1114 |
|
o /usr/lib/news/bin/makehistory |
| 1115 |
|
x THIS FAILED! DON'T DO IT |
| 1116 |
|
|
| 1117 |
|
o MiniHowto: KerberizedSystem (->~jonen) |
| 1118 |
|
|
| 1119 |
|
o RefWords -> LookUpDb -> SearchDb |
| 1120 |
|
|
| 1121 |
|
x added first news-article which refers/references to another one in another newsgroup |
| 1122 |
|
<a href="http://news.netfrag.org/nfo.caesar/id/1">Requirement: LDAP For Aliases, Maps, And Classes</a> |
| 1123 |
|
o PARSER-TODO: RefactorThisLink |
| 1124 |
|
|
| 1125 |
|
|
| 1126 |
|
|