| 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 |
| 600 |
x cd newsportal |
x cd newsportal |
| 601 |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
| 602 |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
| 603 |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/ |
| 604 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
| 605 |
o rework apache-layout - check into repository as something root is responsible for! |
Alias /webnews/ /data/www/global/apps/newsportal/ |
| 606 |
|
x configure in /data/www/global/apps/newsportal/config.inc |
| 607 |
|
// newsserver setup |
| 608 |
|
$server="news.netfrag.org"; |
| 609 |
|
$server_auth_user="webnews"; |
| 610 |
|
$server_auth_pass="web123"; |
| 611 |
|
x add to /etc/news/nnrp.access: |
| 612 |
|
# 2003-01-26, joko |
| 613 |
|
*:Read Post:webnews:web123:* |
| 614 |
|
x modify groups.txt |
| 615 |
|
<nfo.* - add all groups here> |
| 616 |
|
o TODO: AUTOUPDATE here! |
| 617 |
|
x add to the index-page: |
| 618 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
| 619 |
|
x grep -rin "<head" * |
| 620 |
|
doc/readme-deutsch.html:4:</head> |
| 621 |
|
doc/faq.html:4:</head> |
| 622 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
| 623 |
|
doc/readme-english.html:4:</head> |
| 624 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
| 625 |
|
extras/frames/thread_frameset.php:10:</head> |
| 626 |
|
head.inc:5:</head> |
| 627 |
|
x cvs add head.inc |
| 628 |
|
x cvs commit -m "+ initial commit" head.inc |
| 629 |
|
x <modify head.inc> |
| 630 |
|
x nano head.inc |
| 631 |
|
x <jump to line 5> STRG+W + T: 5 |
| 632 |
|
xR <insert INSERTION> |
| 633 |
|
xR <insert [ENTER]> |
| 634 |
|
x <save file> STRG+O + [ENTER] |
| 635 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
| 636 |
|
o TODO: RefactorThisHtmlRef to WebNews |
| 637 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
| 638 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
| 639 |
|
x Why newsportal and no other? |
| 640 |
|
x directly connects to nntp-daemon |
| 641 |
|
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 |
| 995 |
o link-checker for netfrag.org |
o link-checker for netfrag.org |
| 996 |
|
|
| 997 |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
| 998 |
|
o styleme.php |
| 999 |
|
o brandme.php |
| 1000 |
|
|
| 1001 |
|
|
| 1002 |
|
|
| 1003 |
o mini-howto: "HttpRedirect" |
o mini-howto: "HttpRedirect" |
| 1004 |
|
|
| 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 |
| 1038 |
-> DoThings -> ReadTasks -> DoTasks |
-> DoThings -> ReadTasks -> DoTasks |
| 1039 |
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
| 1040 |
|
|
| 1041 |
|
o what do we need / what do we do? |
| 1042 |
|
--- researcher |
| 1043 |
|
o OnlineReading |
| 1044 |
|
(o SelectItemsForDownload) <- want-to-have |
| 1045 |
|
(o DownloadItems) <- want-to-have |
| 1046 |
|
--- researcher |
| 1047 |
|
o OfflineReading |
| 1048 |
|
x ClumsyOfflineReading <- status-quo |
| 1049 |
|
(o NiceOfflineReading) <- want-to-have |
| 1050 |
|
(o OfflineArchiving) <- want-to-have |
| 1051 |
|
o OfflineEditing (text, html, pod, tavi) |
| 1052 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
| 1053 |
|
--- engine |
| 1054 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
| 1055 |
|
o OfflineRendering (html, text, pdf, chm) |
| 1056 |
|
--- reader |
| 1057 |
|
o OnlineReading (<everything that has been published>) |
| 1058 |
|
(o SelectItemsForDownload) <- want-to-have |
| 1059 |
|
(o DownloadItems) <- want-to-have |
| 1060 |
|
o OfflineReading (pdf, chm) |
| 1061 |
|
|
| 1062 |
|
o link to http://teamsonar.no-ip.com |
| 1063 |
|
|
| 1064 |
|
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 |
|
|
| 1112 |
|
o MiniHowto: KerberizedSystem (->~jonen) |
| 1113 |
|
|
| 1114 |
|
p RefWords -> LookUpDb -> SearchDb |
| 1115 |
|
|
| 1116 |
</pre> |
</pre> |
| 1117 |
|
|