| 1 | <html> | <html> | 
| 2 |  | <head> | 
| 3 |  | <title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title> | 
| 4 |  | <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> | 
| 5 |  | </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 | 
| 820 | x ln -s /data/www/global/apps/dispatchrequest . | x ln -s /data/www/global/apps/dispatchrequest . | 
| 821 |  |  | 
| 822 |  |  | 
| 823 | o buildhtml -> docmaker | o buildhtml -> makedoc | 
| 824 |  |  | 
| 825 | o TWIG & yakka? | o TWIG & yakka? | 
| 826 |  |  | 
| 881 |  |  | 
| 882 | o TWIG & OpenLDAP!? | o TWIG & OpenLDAP!? | 
| 883 |  |  | 
| 884 | x quepasa.netfrag.org: | x ApacheMasterLayoutRefactoring: quepasa.netfrag.org: | 
| 885 | x removed /data/www/doc to /data/www/global/apps | x removed /data/www/doc to /data/www/global/apps | 
| 886 | x test: | x test: | 
| 887 | x cd /data/www/virtual | x cd /data/www/virtual | 
| 943 | configuring dynamic domain "smartmen.de" | configuring dynamic domain "smartmen.de" | 
| 944 | configuring dynamic domain "ballonflug.de" | configuring dynamic domain "ballonflug.de" | 
| 945 | Syntax OK | Syntax OK | 
| 946 |  | x /etc/init.d/apache restart | 
| 947 |  | x testing "http://netfrag.org/" fails | 
| 948 |  | x testing "http://netfrag.org/index.php" | 
| 949 |  | x makes redirect to "http://netfrag.org/nfoweb/" but fails there | 
| 950 |  | x tail -f tail -f /data/www/virtual/netfrag/log/error_log | 
| 951 |  | [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ | 
| 952 |  | [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ | 
| 953 |  | [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ | 
| 954 |  | [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ | 
| 955 |  | [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ | 
| 956 |  |  | 
| 957 |  |  | 
| 958 | o register: | o register: | 
| 959 | public.netfrag.org -> http://netfrag.org | public.netfrag.org -> http://netfrag.org | 
| 960 | secure.netfrag.org -> https://netfrag.org | secure.netfrag.org -> https://netfrag.org | 
| 961 |  |  | 
| 962 | o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/! | o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/! | 
| 963 | o netfrag.org: dispatchrequest for http://netfrag.org/rrr/! | o netfrag.org: DispatchRequest for http://netfrag.org/rrr/! | 
| 964 |  |  | 
| 965 | o merge at http://netfrag.org/doc/ | o IntroduceMergePoint at http://netfrag.org/doc/ | 
| 966 | o MiniHowto | o MiniHowto | 
| 967 | o faqs (e.g. from news://news.netfrag.org/nfo.faq.users | o faqs (e.g. from news://news.netfrag.org/nfo.faq.users | 
| 968 |  |  | 
| 969 | o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or | o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or | 
| 970 | o an AUTOCOMMIT on that very event (maybe integrated with a counter) | o an AUTOCOMMIT on that very event (maybe integrated with a counter) | 
| 971 |  |  | 
| 972 |  | o write scripts to iterate recursively through directories under specified path ... | 
| 973 |  | o ... and do some actions on each directory, e.g. | 
| 974 |  | o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc) | 
| 975 |  |  | 
| 976 |  | x CVSSpam in action: | 
| 977 |  | 10146 ?        S      0:00 /usr/sbin/sshd | 
| 978 |  | 10148 ?        S      0:00 /usr/sbin/sshd | 
| 979 |  | 10149 ?        S      0:00 cvs server | 
| 980 |  | 10150 ?        S      0:00 cvs server | 
| 981 |  | 10151 ?        S      0:00 /bin/login | 
| 982 |  | 10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag | 
| 983 |  | 10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10 | 
| 984 |  |  | 
| 985 |  | x as Chora'sStylesheet has come active (by accident) when viewing this file view web | 
| 986 |  | we should include this as a fixed default making horde our default stylesheet delivery engine (for now) | 
| 987 |  |  | 
| 988 |  | 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" />? | 
| 991 |  | o styleme.php | 
| 992 |  | o brandme.php | 
| 993 |  |  | 
| 994 |  |  | 
| 995 |  |  | 
| 996 |  | o mini-howto: "HttpRedirect" | 
| 997 |  |  | 
| 998 |  | o how to refactor the MiniHowtos? | 
| 999 |  | o into a wiki? wikis seem to miss offline/distributed capabilities! (for now) | 
| 1000 |  | x into pod | 
| 1001 |  | x build offline | 
| 1002 |  | o build online | 
| 1003 |  | o into DocBook? | 
| 1004 |  | o into tavi? (or "TaviWorkflow"?) | 
| 1005 |  | o but: LinkWithWikiAutomagically to get everything together | 
| 1006 |  | o look at the InterwikiMechanism | 
| 1007 |  | o look at the various WikiPluginArchitectures | 
| 1008 |  | o look at YakkaDev! | 
| 1009 |  |  | 
| 1010 |  | 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 |  |  | 
| 1095 | <hr/> | <hr/> |