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 |
|
for working with it |
9 |
|
- global metadata |
10 |
|
- cvs-loginfo/commitinfo |
11 |
|
- ItemMetadata |
12 |
|
- ItemStatus (open, closed and stuff) |
13 |
|
- ItemIdentifier |
14 |
|
- ItemAuthor |
15 |
|
- ItemType |
16 |
|
- references/associations to/from |
17 |
|
- word metadata |
18 |
|
- link to target |
19 |
|
- show target as ... |
20 |
|
- overview of all gathered metadata (at the bottom) |
21 |
|
|
22 |
|
for rendering it |
23 |
|
- render <target> at <locator> as <that-type> [in <this-mode>] [to this <othertarget>] |
24 |
|
|
25 |
|
|
26 |
<pre> |
<pre> |
27 |
|
|
28 |
joko@netfrag.org - sample stack: |
joko@netfrag.org - sample stack: |
452 |
x /etc/init.d/apache reload |
x /etc/init.d/apache reload |
453 |
x test: http://news.netfrag.org/ |
x test: http://news.netfrag.org/ |
454 |
|
|
|
|
|
|
|
|
455 |
o new module for cvs-repository? |
o new module for cvs-repository? |
456 |
o nfo/layouts/fs/skel/data2 |
o nfo/layouts/fs/skel/data2 |
457 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
584 |
x sysadmin@netfrag.org |
x sysadmin@netfrag.org |
585 |
x faq@netfrag.org |
x faq@netfrag.org |
586 |
|
|
587 |
x setup newsportal (by Florian Amrhein) |
x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for! |
588 |
|
|
589 |
|
x --setup|*setting up*-- newsportal (by Florian Amrhein) |
590 |
x url: http://florian-amrhein.de/newsportal/ |
x url: http://florian-amrhein.de/newsportal/ |
591 |
x cd /home/service/download |
x cd /home/service/download |
592 |
x mkdir newsportal |
x mkdir newsportal |
593 |
x cd newsportal |
x cd newsportal |
594 |
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 |
595 |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
596 |
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/ |
597 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
598 |
o rework apache-layout - check into repository as something root is responsible for! |
Alias /webnews/ /data/www/global/apps/newsportal/ |
599 |
|
x configure in /data/www/global/apps/newsportal/config.inc |
600 |
|
// newsserver setup |
601 |
|
$server="news.netfrag.org"; |
602 |
|
$server_auth_user="webnews"; |
603 |
|
$server_auth_pass="web123"; |
604 |
|
x add to /etc/news/nnrp.access: |
605 |
|
# 2003-01-26, joko |
606 |
|
*:Read Post:webnews:web123:* |
607 |
|
x modify groups.txt |
608 |
|
<nfo.* - add all groups here> |
609 |
|
o TODO: AUTOUPDATE here! |
610 |
|
x add to the index-page: |
611 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
612 |
|
x grep -rin "<head" * |
613 |
|
doc/readme-deutsch.html:4:</head> |
614 |
|
doc/faq.html:4:</head> |
615 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
616 |
|
doc/readme-english.html:4:</head> |
617 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
618 |
|
extras/frames/thread_frameset.php:10:</head> |
619 |
|
head.inc:5:</head> |
620 |
|
x cvs add head.inc |
621 |
|
x cvs commit -m "+ initial commit" head.inc |
622 |
|
x <modify head.inc> |
623 |
|
x nano head.inc |
624 |
|
x <jump to line 5> STRG+W + T: 5 |
625 |
|
xR <insert INSERTION> |
626 |
|
xR <insert [ENTER]> |
627 |
|
x <save file> STRG+O + [ENTER] |
628 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
629 |
|
o TODO: RefactorThisHtmlRef to WebNews |
630 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
631 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
632 |
|
x Why newsportal and no other? |
633 |
|
x directly connects to nntp-daemon |
634 |
|
x has local spool (o TODO: purge regularly?) |
635 |
|
x highly customizable |
636 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
637 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
638 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
639 |
|
o TODO: RefactorThisLink |
640 |
|
x it's just easy! |
641 |
|
x setup dispatchrequest for http://news.netfrag.org |
642 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
643 |
|
x create symlink |
644 |
|
x ./.symlinkrc |
645 |
|
x copy over from webcvs |
646 |
|
x cp ../webcvs/index.php . |
647 |
|
x mkdir .dispatch |
648 |
|
x cd .dispatch |
649 |
|
x cp ../webcvs/.dispatch/config.php . |
650 |
|
x cp ../webcvs/.dispatch/index.php . |
651 |
|
x cvs add ... |
652 |
|
x cvs commit ... |
653 |
|
x added|*adding* dispatcher at http://news.netfrag.org |
654 |
|
x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose |
655 |
|
o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor |
656 |
|
x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a> |
657 |
|
x tested http://cvs.netfrag.org/ - still working... |
658 |
|
o AddedFeatures to DispatchRequest: |
659 |
|
x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/ |
660 |
|
e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing |
661 |
|
o JumpToThread: NotYetImplemented! DoWeReallyNeedThis? |
662 |
|
o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org |
663 |
|
x JumpToArticle: http://news.netfrag.org/nfo.links.computing/id/44 |
664 |
|
e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing |
665 |
|
|
666 |
|
|
667 |
o NfoWeb |
o NfoWeb |
668 |
o add WikiPages: |
o add WikiPages: |
690 |
o IconForNetfrag.Org? |
o IconForNetfrag.Org? |
691 |
o fav.ico? |
o fav.ico? |
692 |
|
|
693 |
x install viewcvs |
x --*installed*|install-- viewcvs |
694 |
x apt-get install viewcvs |
x apt-get install viewcvs |
695 |
x configured: |
x configured: |
696 |
x /var/lib/cvs |
x /var/lib/cvs |
701 |
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 |
702 |
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' |
703 |
|
|
704 |
o rendering proposals for TaviWorkflow |
o rendering *proposals* for TaviWorkflow |
705 |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
706 |
o Coloring |
o Coloring |
707 |
o [o=red, x=green, R=red, r=green] |
o [o=red, x=green, R=red, r=green] |
708 |
|
|
709 |
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
710 |
|
|
711 |
x web-based newsreader? twig! |
x web-based newsreader? twig! |
712 |
x apt-get install twig |
x apt-get install twig |
988 |
o link-checker for netfrag.org |
o link-checker for netfrag.org |
989 |
|
|
990 |
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" />? |
991 |
|
o styleme.php |
992 |
|
o brandme.php |
993 |
|
|
994 |
|
|
995 |
|
|
996 |
o mini-howto: "HttpRedirect" |
o mini-howto: "HttpRedirect" |
997 |
|
|
1007 |
o look at the various WikiPluginArchitectures |
o look at the various WikiPluginArchitectures |
1008 |
o look at YakkaDev! |
o look at YakkaDev! |
1009 |
|
|
1010 |
o render this with [[yakka]] and [[tavi-workflow]]! |
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
1011 |
|
o this could mean: |
1012 |
|
o use the declared formats as output filters for viewing target in other formats / styles |
1013 |
|
|
1014 |
|
o proposal for hierarchical structure (and HomePage) of netfrag.org |
1015 |
|
~overview -> SomeWiki -> Overview |
1016 |
|
~projects (include some common text here) |
1017 |
|
~users (include some common text here) |
1018 |
|
- Page: UserArea |
1019 |
|
- Page: ~users |
1020 |
|
~projects -> SomeWiki-> Projects |
1021 |
|
~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?)) |
1022 |
|
~rabit (raBit's router - psl.no-ip.com) |
1023 |
|
~natraj (sam's place - optix) |
1024 |
|
~joko (joko's) |
1025 |
|
~bareface (->yakka) |
1026 |
|
|
1027 |
|
o MasterWorkflow: |
1028 |
|
-> TheThreeGoodThings |
1029 |
|
-> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences |
1030 |
|
-> RefactorIdeas -> Categorize -> AddNotes -> AddTasks |
1031 |
|
-> DoThings -> ReadTasks -> DoTasks |
1032 |
|
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
1033 |
|
|
1034 |
|
o what do we need / what do we do? |
1035 |
|
--- researcher |
1036 |
|
o OnlineReading |
1037 |
|
(o SelectItemsForDownload) <- want-to-have |
1038 |
|
(o DownloadItems) <- want-to-have |
1039 |
|
--- researcher |
1040 |
|
o OfflineReading |
1041 |
|
x ClumsyOfflineReading <- status-quo |
1042 |
|
(o NiceOfflineReading) <- want-to-have |
1043 |
|
(o OfflineArchiving) <- want-to-have |
1044 |
|
o OfflineEditing (text, html, pod, tavi) |
1045 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
1046 |
|
--- engine |
1047 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
1048 |
|
o OfflineRendering (html, text, pdf, chm) |
1049 |
|
--- reader |
1050 |
|
o OnlineReading (<everything that has been published>) |
1051 |
|
(o SelectItemsForDownload) <- want-to-have |
1052 |
|
(o DownloadItems) <- want-to-have |
1053 |
|
o OfflineReading (pdf, chm) |
1054 |
|
|
1055 |
|
o link to http://teamsonar.no-ip.com |
1056 |
|
|
1057 |
|
o mail announces to announce@netfrag.org |
1058 |
|
|
1059 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
1060 |
|
|
1061 |
|
o MiniHowto: NfoLinkageSystem(->news.nfo.announce) |
1062 |
|
o this declaration could mean: |
1063 |
|
o UseResources: |
1064 |
|
o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver |
1065 |
|
o RenderThisWay: |
1066 |
|
o embed into document - html3 |
1067 |
|
o embed into document - dhtml (ExpandTree, CollapseTree) |
1068 |
|
o LinkToIt (JumpToMechanism(->minihowto)) |
1069 |
|
|
1070 |
|
o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords |
1071 |
|
according to specification in there |
1072 |
|
|
1073 |
|
o source-code parser which creates documentation with wiki techniques |
1074 |
|
o pod2tavi -> tavi2html |
1075 |
|
o phpDoc <- tavi-plugin? |
1076 |
|
|
1077 |
|
o integrate yakka and newsportal: |
1078 |
|
o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata) |
1079 |
|
o article-sources |
1080 |
|
o all items from one news-server |
1081 |
|
o !!! from different news-servers !!! |
1082 |
|
o add a "CommentThis"-links to each item when rendering |
1083 |
|
o when user posts the answer on YakkaEditPage |
1084 |
|
o make yakka post to the article's associated news-server (read from YakkaItemMetadata) |
1085 |
|
o wait until new article is published, then ... |
1086 |
|
o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon) |
1087 |
|
o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel) |
1088 |
|
which shows NewItems(->self, ->live) per thread or newsgroup |
1089 |
|
|
1090 |
|
|
1091 |
|
|
1092 |
|
|
1093 |
</pre> |
</pre> |
1094 |
|
|