Esempio n. 1
0
        public FeedIndexableGenerator(LifereaQueryable queryable, string feed_file)
        {
            this.queryable  = queryable;
            this.feed_file  = feed_file;
            this.serializer = queryable.Serializer;
            ReadFeedHeader();

            // Set icon file
            string file_name = Path.GetFileNameWithoutExtension(feed_file);

            this.icon_file = this.queryable.icon_dir;
            this.icon_file = Path.Combine(icon_file, file_name);
            this.icon_file = Path.ChangeExtension(icon_file, "png");
        }
Esempio n. 2
0
		public FeedIndexableGenerator (LifereaQueryable queryable, string feed_file)
		{
			this.queryable = queryable;
			this.feed_file = feed_file;
			this.serializer = queryable.Serializer;
			ReadFeedHeader ();

			// Set icon file
			string file_name = Path.GetFileNameWithoutExtension (feed_file);
			this.icon_file = this.queryable.icon_dir;
			this.icon_file = Path.Combine (icon_file, file_name);
			this.icon_file = Path.ChangeExtension (icon_file, "png");
		}