search for: metainfo

Displaying 20 results from an estimated 41 matches for "metainfo".

2005 Feb 07
0
Trying to Seed Maybe Bug?
Hi, trying to get rubytorrent to act as a seeder. I''m instantiation the RubyTorrent::Bittorrent with a pre-created MetaInfo object... bt = RubyTorrent::BitTorrent.new(dtorrent.metainfo) bt.on_event(self, :tracker_connected) { |s, url| puts "[tracker] connected to tracker #{url}" } I will attack the test file (just some random strings in a file) and the torrent that was generated for it. . -------------- n...
2005 Jan 12
2
Extending metainfo class
Hi, I`ve still posted this comment on comp.lang.ruby and after that I found this list ;) I`ve had some problems with a .torrent file because of unknown fields. The file was created with: BitComet/0.56 So, I extended the metainfo class like this: -- Andreas Index: rubytorrent/rubytorrent/metainfo.rb =================================================================== RCS file: /var/cvs/rubytorrent/rubytorrent/rubytorrent/metainfo.rb,v retrieving revision 1.4 diff -r1.4 metainfo.rb 62,63c62,67 < :ed2k =&g...
2005 Feb 07
4
[patch] MetaInfo.from_stream
This patch fixes a typo in MetaInfo.from_stream. Alexander. -------------- next part -------------- Index: rubytorrent/metainfo.rb =================================================================== RCS file: /var/cvs/rubytorrent/rubytorrent/rubytorrent/metainfo.rb,v retrieving revision 1.8 diff -u -r1.8 metainfo.rb --- rubytorrent/...
2007 Apr 03
1
metainfo.yaml
Can there be multiple metainfo.yaml files in different directories? I can''t find any indication in the docs, and I''m upgrading an old project based on webgen 0.3.8 which has this sort of setup. By the way, to parse my own inline html with textile I was able to write a content converter quite successfull...
2005 Nov 06
0
make-metainfo.rb doesn''t work?
Hi, I was trying to use rubytorrent but I couldn''t manage to make the make-metainfo.rb work. Apparently the input requires a Hash? I tried to remove the line in metainfo.rb that does this check but it doesn''t allow me to go through at the end. Any advice? -- sausheong
2010 Feb 10
1
metainfo tag called instead of a custom one
Hi, I had adapted this mailto tag http://pjkh.com/articles/2007/12/14/webgen-mailto-tag Now webgen gives me errors like so: ERROR -- No default mandatory parameter specified for tag ''Webgen::Tag::Metainfo'' but set in </contact.en.html> ERROR -- No value for meta info key ''mailto'' in </contact.en.html> found in </contact.en.html> Which suggests that the default tag handler gets called instead of mine. The contact page contains something like {mailto:...
2005 Feb 07
1
Regarding '' info'' Bug
I think i tracked down the situation. Using RubyTorrent::BitTorrent.new with only a single argument of metainfo leads to a Package being created from ''metainfo.info'', and then Package internally calls info again, dieing. invoking like bt = RubyTorrent::BitTorrent.new(dtorrent.metainfo,RubyTorrent:: Package.new(dtorrent.metainfo)) avoids this, but then a new problem is discovered. Unl...
2014 Sep 11
1
Alternative data stream on volume cannot be created
...read only = no browseable = yes guest ok = no create mask = 0777 directory mask = 0777 vfs objects = streams_xattr On Win7 64bit client, I opened a console to test and got the following results: 1. File data stream can be created. echo "sdfsdfc' > \\Server\Share\file:MetaInfo Where Server is the computer name of the Ubuntu machine; file is an existing file name.. The command succeeds. 2. Folder data stream can be created . echo "sdfds" > \\Server\Share\fold\:MetaInfo Where fold is an existing directory name. It succeeds as wel...
2008 Jan 04
2
Menu - labels
Webgen uses file paths to generate multilevel menues, bread crumbs etc. And limits the character range in paths to a-zA-Z. As the directory names are used verbatim as menu labels this is fairly limitting for non-english pages. Is there a way to map directory names to configurable UTF8 strings for menu labels? oao
2008 Jun 14
0
Thoughts on webgen 0.5.0
...t was done on March 28th. Four months passed since then and now the devel version is again at a point where simple websites can be created. The current status: * Implement file handleres (now called source handlers since data can come from other source - think databases, multiple directories): - Metainfo - Directory - Copy - Page - Fragment - Template New ones are the Metainfo and Fragment handler. The Metainfo handler allows to specify multiple meta information files insteaad of the one metainfo.yaml that is used in 0.4.x. The Fragment handler is used for generating fragment nod...
2008 Aug 16
2
Partial site generation
...bgen 0.5.2 on Windows Vista. with Ruby 1.8.6. I simply created a sample site using command ''webgen create test'', and created two pages ''test1.page'' and ''test2.page''. test |- src |- index.page |- test1.page |- test2.page |- metainfo I specified the all meta information of the pages in ''metainfo'' file. metainfo: --- name:paths index.page: title: Index page in_menu: true routed_title: New Website test1.page: title: Test Page 1 in_menu: true test2.page: title: Test Page 2 in_menu: true In th...
2006 Jul 10
4
HABTM vs. using has_many :through
All, I''ve heard recently about has_many :through as a necessary alternative to HABTM (when the join table has it''s own id column, say, in a legacy schema). However, is the prevailing Rails wisdom now that one should use has_many :through in _all_ cases? If so, why? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2007 Apr 01
11
--color doesn''t work with --drb w/rspec_autotest
If I got this to work, do you think we could/should check in rspec_autotest into rspec? I''ve updated rspec_autotest abit, so let me know if you''d like the modified code. Scott
2007 Mar 11
0
Tag plugin for writing META elements
I like (and Google likes it too) that each page has a different description. Use the tag {metainfo: } in your <head>, and add the "description","author","keywords" fields to the pages'' metainfo. --- title: Title for the page description: Description for this page. keywords: example, plugin, input --- Content -- Andrea Censi "Life is too...
2008 Mar 18
1
Other Menu Content
Dear all, Is there an another way, rather than using metainfo.yaml, to add links to external websites and files to the navigation menu? I would prefer something that I could configure on a per directory basis. Best wishes, Marc Argent
2005 Jan 10
2
rubytorrent
hello, we are interested in using rubytorrent as a project in a hackfest we''re organizing, and I would like to know if you have any idea of stuff that needs to be done, or something like it. Thanks, --lf
2007 Mar 30
4
Current status of webgen 0.4.3 and 0.5.0 (new plugin system)
...lected all mails/forum entries/ML postings in which bugs were reported, features requested, patches submitted, ... However, I did not have time to make changes to the repository till now. So, here is a small list of changes for the upcoming 0.4.3 release: * Include plugins by Andrea Censi (a metainfo and a flickr tag plugin) * Add the parameters from MenuStyle/Vertical to MenuStyle/Horizontal * Normalize EOL to \n so that page files with any EOL encoding work properly * Change the way webgen locates it''s data directory (first local, then /usr/share/webgen - add info log message wit...
2004 Aug 06
3
Howto recieve a header or something for icecast stations
...es code :-). I want to implement shoutcast/icecast listening support for my app. It did not seem to be any problem with shoutcast, but playing around with some icecast stations tonight I found that I am not able to receive any plaintext headers when first opening a stream. Some ogg stations present metainfo in the ogg format when connecting with which is fine for me, but some stations do not present any info at all. They start with the raw mp3 or ogg data. No header nothing. So can you please advice me what I am doing wrong? Is there a special request I need to send to get something like a header from...
2011 Feb 07
8
Pygments
The Pygments highlighter supports many more languages than CodeRay. Pygments is written in Python, but I''ve seen non-Python projects use it (Jekyll, Pygments). There''s also this: https://github.com/nex3/rb-pygments Any idea how much work it would be to add Pygments support to Webgen?
2008 Sep 14
2
virtual links
...ink in_menu: true sort_info: 60 The link is in the menu for the website, but in the wrong place with a bad link. The link is changed to ../http:/mylink.com. I also wanted the link to be the last one in the menu, but I think that may caused by another problem that I am having with the htmldoc.metainfo file which I will start a second post for. Since that I didn''t work I then looked at the example from the extension info about virtual files on your site and changed the htmldoc.virtual to the following: \--- !omap api.html: url: http://mylink.com title: This is my link in_menu: tr...